From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFIdh-0008In-Fx for qemu-devel@nongnu.org; Wed, 24 Oct 2018 08:51:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFIde-0006eL-08 for qemu-devel@nongnu.org; Wed, 24 Oct 2018 08:51:57 -0400 Received: from indium.canonical.com ([91.189.90.7]:47082) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gFIdd-0006ci-QW for qemu-devel@nongnu.org; Wed, 24 Oct 2018 08:51:53 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1gFIdZ-00082n-4Q for ; Wed, 24 Oct 2018 12:51:49 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 6DC5B2E945E for ; Wed, 24 Oct 2018 12:44:31 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 24 Oct 2018 12:34:35 -0000 From: =?utf-8?q?Alex_Benn=C3=A9e?= Reply-To: Bug 1759333 <1759333@bugs.launchpad.net> Sender: bounces@canonical.com References: <152217002978.21179.18362367542097684091.malonedeb@wampee.canonical.com> Message-Id: <154038447634.18133.4500703498980325622.launchpad@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1759333] Re: Illegal Instruction with HVF when encountering SSE instructions in the emulator List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ** Tags added: tcg x86 -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1759333 Title: Illegal Instruction with HVF when encountering SSE instructions in the emulator Status in QEMU: New Bug description: The latest version of QEMU doesn't seem to support emulated SSE instructi= ons with HVF acceleration on macOS. The decoder will treat SSE instructions as invalid, get the instruction s= izes wrong and quickly crash the guest OS because of illegal instructions. After having a quick look at target/i386/hvf/x86_decode.c, it seems that = SSE instruction emulation isn't implemented in the current version of the x= 86 emulator. A way to reproduce the issue is to run a macOS 10.13 guest with HVF acceleration enabled, this will crash in the guest once it's loading up the GUI (and also print a "Unimplemented handler" warning from target/i386/hvf/x86_emu.c). To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1759333/+subscriptions