hi-- i'm trying to boot a macos guest on a macos host with hvf but it seems to hang before loading the edk2 ovmf blobs. to keep things simple, i am using this command-line which i'm just trying to boot to the efi shell while i debug the issue: qemu-system-x86_64 -m 3072 \ -machine pc-q35-2.11,accel=hvf -cpu Penryn,-svm \ -debugcon file:debug.log -global isa-debugcon.iobase=0x402 \ -drive if=pflash,format=raw,readonly,file=./testovmf/OVMF_CODE.fd \ -drive if=pflash,format=raw,file=./testovmf/OVMF_VARS.fd \ -monitor stdio
if i switch to tcg, i get the tianocore logo, a pxe boot attempt, and eventually the efi shell, so i think the configuration is right, but in hvf it just stays on the initial black screen. nothing appears in the ovmf debug.log with hvf, though plenty appears in tcg mode. i built qemu from 160e5c22e55b3f775c2003dfc626fa872ee4a7a1. and edk2 from 1b970b4cbc746841e29290f256731cc958b9ef3a. in lldb it doesn't seem like the threads are doing anything notable, and nothing is printed to the console other than the monitor prompt: * frame #0: 0x00007fff38a4e3cf Hypervisor`hv_vcpu_run + 13 frame #1: 0x0000000103fb5fec qemu-system-x86_64`hvf_vcpu_exec(cpu=0x00007fdd1683cc00) at hvf.c:685 frame #2: 0x0000000103e5a994 qemu-system-x86_64`qemu_hvf_cpu_thread_fn(arg=0x00007fdd1683cc00) at cpus.c:1631 frame #3: 0x0000000104429100 qemu-system-x86_64`qemu_thread_start(args=0x00007fdd14f365e0) at qemu-thread-posix.c:498 frame #4: 0x00007fff63581339 libsystem_pthread.dylib`_pthread_body + 126 frame #5: 0x00007fff635842a7 libsystem_pthread.dylib`_pthread_start + 70 frame #6: 0x00007fff63580445 libsystem_pthread.dylib`thread_start + 13 curious if anyone might have any inkling of what's wrong or maybe a nudge in the right direction as to what to try next. happy to dig in to the code but was hoping i could get a hint maybe where to start. cheers, -sjg