homebrew-qemu-virgl
homebrew-qemu-virgl copied to clipboard
Invalid accelerator hvf
Hey people, tried your "script" from the start for x86
qemu-system-x86_64 \
-machine accel=hvf \
-cpu Haswell-v4 -smp 2 -m 4G \
-device intel-hda -device hda-output \
-device qemu-xhci \
-device virtio-vga \
-device usb-kbd \
-device virtio-net-pci,netdev=net \
-device virtio-mouse-pci \
-display cocoa,gl=off \
-netdev user,id=net,ipv6=off \
-drive "if=virtio,format=raw,file=ubuntu.raw,discard=on" \
-cdrom ubuntu-20.04.3-live-server-amd64.iso \
-boot d
It states "qemu-system-x86_64: invalid accelerator hvf"
I used ubuntu-server as iso but it was the same for fedora.
My qemu version is 6.1.0.
At the start I had issues with open GL and followed the advises from here: https://github.com/knazarov/homebrew-qemu-virgl/issues/39
Maybe you could help me there..
If this is relevant, I use a M1Pro processor but I need to emulate an x86 System...
Note, I have changed the subject, and main post, since the original issue (that OpenGL is disabled where addressed via other posts
You can't use Hypervisor.framework to virtualize different architectures (aarch64 host and x86_64 guest) - you will have to emulate by removing that parameter.