All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1759333] [NEW] Illegal Instruction with HVF when encountering SSE instructions in the emulator
@ 2018-03-27 17:00 Fa Bi
  2018-10-24 12:34 ` [Qemu-devel] [Bug 1759333] " Alex Bennée
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Fa Bi @ 2018-03-27 17:00 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

The latest version of QEMU doesn't seem to support emulated SSE instructions with HVF acceleration on macOS.
The decoder will treat SSE instructions as invalid, get the instruction sizes 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 x86 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).

** Affects: qemu
     Importance: Undecided
         Status: New

** Summary changed:

- Illegal Instruction with HVF when encountering SSE instructions in Privileged Mode
+ Illegal Instruction with HVF when encountering SSE instructions in the emulator

** Description changed:

  The latest version of QEMU doesn't seem to support emulated SSE instructions with HVF acceleration on macOS.
  The decoder will treat SSE instructions as invalid, get the instruction sizes 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 x86 emulator.
  
  A way to reproduce the issue is to run a macOS 10.13 guest with HVF
- acceleration enabled, this will crash once it's loading up the GUI.
+ 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).

-- 
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 instructions with HVF acceleration on macOS.
  The decoder will treat SSE instructions as invalid, get the instruction sizes 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 x86 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Qemu-devel] [Bug 1759333] Re: Illegal Instruction with HVF when encountering SSE instructions in the emulator
  2018-03-27 17:00 [Qemu-devel] [Bug 1759333] [NEW] Illegal Instruction with HVF when encountering SSE instructions in the emulator Fa Bi
@ 2018-10-24 12:34 ` Alex Bennée
  2018-10-25 13:06 ` Richard Henderson
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Alex Bennée @ 2018-10-24 12:34 UTC (permalink / raw)
  To: qemu-devel

** 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 instructions with HVF acceleration on macOS.
  The decoder will treat SSE instructions as invalid, get the instruction sizes 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 x86 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Qemu-devel] [Bug 1759333] Re: Illegal Instruction with HVF when encountering SSE instructions in the emulator
  2018-03-27 17:00 [Qemu-devel] [Bug 1759333] [NEW] Illegal Instruction with HVF when encountering SSE instructions in the emulator Fa Bi
  2018-10-24 12:34 ` [Qemu-devel] [Bug 1759333] " Alex Bennée
@ 2018-10-25 13:06 ` Richard Henderson
  2020-11-13 16:10 ` Thomas Huth
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Richard Henderson @ 2018-10-25 13:06 UTC (permalink / raw)
  To: qemu-devel

** Tags removed: tcg
** Tags added: hvf

-- 
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 instructions with HVF acceleration on macOS.
  The decoder will treat SSE instructions as invalid, get the instruction sizes 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 x86 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 1759333] Re: Illegal Instruction with HVF when encountering SSE instructions in the emulator
  2018-03-27 17:00 [Qemu-devel] [Bug 1759333] [NEW] Illegal Instruction with HVF when encountering SSE instructions in the emulator Fa Bi
  2018-10-24 12:34 ` [Qemu-devel] [Bug 1759333] " Alex Bennée
  2018-10-25 13:06 ` Richard Henderson
@ 2020-11-13 16:10 ` Thomas Huth
  2020-11-16 10:58 ` Roman Bolshakov
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Thomas Huth @ 2020-11-13 16:10 UTC (permalink / raw)
  To: qemu-devel

The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now.
If you still think this bug report here is valid, then please switch the state back to "New" within the next 60 days, otherwise this report will be marked as "Expired". Or mark it as "Fix Released" if the problem has been solved with a newer version of QEMU already. Thank you and sorry for the inconvenience.

** Changed in: qemu
       Status: New => Incomplete

-- 
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:
  Incomplete

Bug description:
  The latest version of QEMU doesn't seem to support emulated SSE instructions with HVF acceleration on macOS.
  The decoder will treat SSE instructions as invalid, get the instruction sizes 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 x86 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 1759333] Re: Illegal Instruction with HVF when encountering SSE instructions in the emulator
  2018-03-27 17:00 [Qemu-devel] [Bug 1759333] [NEW] Illegal Instruction with HVF when encountering SSE instructions in the emulator Fa Bi
                   ` (2 preceding siblings ...)
  2020-11-13 16:10 ` Thomas Huth
@ 2020-11-16 10:58 ` Roman Bolshakov
  2020-11-16 18:14 ` Thomas Huth
  2021-05-05  8:19 ` Thomas Huth
  5 siblings, 0 replies; 7+ messages in thread
From: Roman Bolshakov @ 2020-11-16 10:58 UTC (permalink / raw)
  To: qemu-devel

Thomas, I think the issue is there. SSE/MMX weren't yet added for HVF.

-- 
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:
  Incomplete

Bug description:
  The latest version of QEMU doesn't seem to support emulated SSE instructions with HVF acceleration on macOS.
  The decoder will treat SSE instructions as invalid, get the instruction sizes 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 x86 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 1759333] Re: Illegal Instruction with HVF when encountering SSE instructions in the emulator
  2018-03-27 17:00 [Qemu-devel] [Bug 1759333] [NEW] Illegal Instruction with HVF when encountering SSE instructions in the emulator Fa Bi
                   ` (3 preceding siblings ...)
  2020-11-16 10:58 ` Roman Bolshakov
@ 2020-11-16 18:14 ` Thomas Huth
  2021-05-05  8:19 ` Thomas Huth
  5 siblings, 0 replies; 7+ messages in thread
From: Thomas Huth @ 2020-11-16 18:14 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: Incomplete => Triaged

-- 
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:
  Triaged

Bug description:
  The latest version of QEMU doesn't seem to support emulated SSE instructions with HVF acceleration on macOS.
  The decoder will treat SSE instructions as invalid, get the instruction sizes 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 x86 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 1759333] Re: Illegal Instruction with HVF when encountering SSE instructions in the emulator
  2018-03-27 17:00 [Qemu-devel] [Bug 1759333] [NEW] Illegal Instruction with HVF when encountering SSE instructions in the emulator Fa Bi
                   ` (4 preceding siblings ...)
  2020-11-16 18:14 ` Thomas Huth
@ 2021-05-05  8:19 ` Thomas Huth
  5 siblings, 0 replies; 7+ messages in thread
From: Thomas Huth @ 2021-05-05  8:19 UTC (permalink / raw)
  To: qemu-devel

This is an automated cleanup. This bug report has been moved to QEMU's
new bug tracker on gitlab.com and thus gets marked as 'expired' now.
Please continue with the discussion here:

 https://gitlab.com/qemu-project/qemu/-/issues/150


** Changed in: qemu
       Status: Triaged => Expired

** Bug watch added: gitlab.com/qemu-project/qemu/-/issues #150
   https://gitlab.com/qemu-project/qemu/-/issues/150

-- 
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:
  Expired

Bug description:
  The latest version of QEMU doesn't seem to support emulated SSE instructions with HVF acceleration on macOS.
  The decoder will treat SSE instructions as invalid, get the instruction sizes 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 x86 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-05-05  8:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-27 17:00 [Qemu-devel] [Bug 1759333] [NEW] Illegal Instruction with HVF when encountering SSE instructions in the emulator Fa Bi
2018-10-24 12:34 ` [Qemu-devel] [Bug 1759333] " Alex Bennée
2018-10-25 13:06 ` Richard Henderson
2020-11-13 16:10 ` Thomas Huth
2020-11-16 10:58 ` Roman Bolshakov
2020-11-16 18:14 ` Thomas Huth
2021-05-05  8:19 ` Thomas Huth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.