qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1758819] Re: HVF Illegal instruction: 4, High Sierra,


From: MIke Pestorich
Subject: [Qemu-devel] [Bug 1758819] Re: HVF Illegal instruction: 4, High Sierra, v2.12-rc0
Date: Sun, 21 Apr 2019 18:35:36 -0000

According to the response here: https://www.mail-archive.com/qemu-
address@hidden/msg572220.html

...the call to xgetbv should be guarded against processors that don't
support the instruction. The attached patch seems to work for me but
must admit I am way out of my depth here (I understand nothing about cpu
architecture, features, etc...) and have not tested on anything but my
old MacBook Pro (15-inch, Mid 2010) / MacBookPro6,2. All that I can say
is that for this machine the call to xgetbv is not made and everything
seems to work. I have no idea if this is correct for other
machines/processors or if it correctly detects support of this call...

** Patch added: "x86_cpuid.c.diff"
   
https://bugs.launchpad.net/qemu/+bug/1758819/+attachment/5257652/+files/x86_cpuid.c.diff

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1758819

Title:
  HVF Illegal instruction: 4, High Sierra, v2.12-rc0

Status in QEMU:
  New

Bug description:
  I've built v2.12.0-rc0 on MacOS using homebrew. I'm running 10.13.3 on
  a 5,1 Mac Pro with a X5690 processor.

  When I run 'qemu-system-x86_64 -M accel=hvf', I get a crash "Illegal
  instruction: 4".

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1758819/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]