From owner-freebsd-virtualization@freebsd.org Wed Aug 3 12:34:28 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2876BBAA7DF for ; Wed, 3 Aug 2016 12:34:28 +0000 (UTC) (envelope-from nbe@renzel.net) Received: from nijmegen.renzel.net (mx1.renzel.net [195.243.213.130]) by mx1.freebsd.org (Postfix) with ESMTP id E571B1B37 for ; Wed, 3 Aug 2016 12:34:27 +0000 (UTC) (envelope-from nbe@renzel.net) Received: from dublin.vkf.isb.de.renzel.net (unknown [10.0.0.80]) by nijmegen.renzel.net (smtpd) with ESMTP id B0A8A1414817 for ; Wed, 3 Aug 2016 14:31:20 +0200 (CEST) Received: from asbach.renzel.net (unknown [172.18.96.1]) by dublin.vkf.isb.de.renzel.net (Postfix) with ESMTP id A4473AD104 for ; Wed, 3 Aug 2016 14:31:20 +0200 (CEST) From: Nils Beyer To: freebsd-virtualization@freebsd.org Subject: bhyve: "Failed to emulate instruction 0x4c (...)" using "Core i5 6200U"... Date: Wed, 03 Aug 2016 14:31:20 +0200 Message-ID: <1882952.cFmKm56hu3@asbach.renzel.net> Organization: VKF Renzel GmbH User-Agent: KMail/4.14.10 (FreeBSD/11.0-BETA1; KDE/4.14.10; amd64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Virus-Scanned: clamav-milter 0.98 at nijmegen.renzel.net X-Virus-Status: Clean X-Spam-Status: No, score=-8.0 required=7.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on nijmegen.renzel.net X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2016 12:34:28 -0000 Hi, booting Windows 10 DVD ISO in a bhyve VM generates an abort trap: ============================================================================== Failed to emulate instruction [0x4c 0x8b 0x3c 0xc8 0x41 0x39 0x7f 0x08 0x76 0x5f 0x49 0x8b 0x0f 0x44 0x8b] at 0x10009bc1 Abort trap (core dumped) ============================================================================== Host-CPU: Core i5 6200U (Skylake) OS: FreeBSD 11.0-BETA3 #12 r303475M Windows probably tries to access some fancy Skylake features. Is there a way to fake my simulated CPU so that it gets detected as an Ivybridge? My current command: ============================================================================== bhyve \ -c 2 \ -s 3,ahci-cd,/root/windows10x64.iso -s 4,ahci-hd,/dev/zvol/zroot/windows10 \ -s 5,virtio-net,tap0 \ -s 11,fbuf,tcp=192.168.10.251:5900,w=1024,h=768 \ -s 20,xhci,tablet \ -s 31,lpc \ -l bootrom,/mnt/vmm/iso/BHYVE_UEFI_20160526.fd \ -m 2G -H -w \ windows10 ============================================================================== Thanks in advance and regards, Nils