Crash with HV_ERROR on macOS host
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On macOS host running Windows 10 guest, qemu crashed with error message: Error: HV_ERROR.
Host: macOS Mojave 10.14.3 (18D109) Late 2014 Mac mini presumably Core i5 4278U.
QEMU: git commit a3e3b0a7bd5de21
QEMU parameter: qemu-system-x86_64 -m 3000 -drive file=disk.
thread list
Process 56054 stopped
thread #1: tid = 0x2ffec8, 0x00007fff48d0805a vImage`
thread #2: tid = 0x2ffecc, 0x00007fff79d6d7de libsystem_
thread #3: tid = 0x2ffecd, 0x00007fff79d715aa libsystem_
thread #4: tid = 0x2ffece, 0x00007fff79d71d9a libsystem_
* thread #6: tid = 0x2ffed0, 0x00007fff79d7023e libsystem_
thread #7: tid = 0x2ffed1, 0x00007fff79d6d7de libsystem_
thread #8: tid = 0x2ffed2, 0x00007fff79d6d7de libsystem_
thread #11: tid = 0x2fff34, 0x00007fff79d6a17a libsystem_
thread #30: tid = 0x300c04, 0x00007fff79e233f8 libsystem_
thread #31: tid = 0x300c16, 0x00007fff79e233f8 libsystem_
thread #32: tid = 0x300c17, 0x0000000000000000
thread #33: tid = 0x300c93, 0x00007fff79d6d7de libsystem_
Crashed thread:
* thread #6, stop reason = signal SIGABRT
* frame #0: 0x00007fff79d7023e libsystem_
frame #1: 0x00007fff79e26c1c libsystem_
frame #2: 0x00007fff79cd91c9 libsystem_
frame #3: 0x000000010baa476d qemu-system-
frame #4: 0x000000010baa4c8f qemu-system-
frame #5: 0x000000010b988423 qemu-system-
frame #6: 0x000000010bd9dfce qemu-system-
frame #7: 0x00007fff79e24305 libsystem_
frame #8: 0x00007fff79e2726f libsystem_
frame #9: 0x00007fff79e23415 libsystem_
I can reproduce this by booting the Windows 10 x64 install ISO with the command line:
+ WINIMG=Win10.iso virtio- win-0.1. 164.iso raw,file= Win10.img, if=virtio -m 1536 -net nic,model=virtio -net user -cdrom Win10.iso -drive file=virtio- win-0.1. 164.iso, index=3, media=cdrom -rtc base=localtime, clock=host -smp cores=2 -usb -device usb-tablet -net user :ECX.svm [bit 2] :ECX.svm [bit 2] raw,file= Win10.img, if=virtio -m 1536 -net nic,model=virtio -net user -cdrom ${WINIMG} -drive file=${ VIRTIMG} ,index= 3,media= cdrom -rtc base=localtime, clock=host -smp cores=2 -usb -device usb-tablet -net user
+ VIRTIMG=
+ qemu-system-x86_64 -accel hvf -drive driver=
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H
Unimplemented handler (fffff80641601c38) for 0 (f 11)
Unimplemented handler (fffff8064160192f) for 0 (f 7f)
qemu-system-x86_64: Error: HV_ERROR
./qemu-boot.sh: line 20: 32294 Abort trap: 6 qemu-system-x86_64 -accel hvf -drive driver=