Illegal Instruction with HVF when encountering SSE instructions in the emulator
This bug has been copied automatically from: https://bugs.launchpad.net/qemu/+bug/1759333
Reported by 'Fa Bi' on 2018-03-27 :
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).