Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid accelerator hvf #63

Open
LukasM937 opened this issue Nov 23, 2021 · 2 comments
Open

Invalid accelerator hvf #63

LukasM937 opened this issue Nov 23, 2021 · 2 comments

Comments

@LukasM937
Copy link

LukasM937 commented Nov 23, 2021

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: #39

Maybe you could help me there..

If this is relevant, I use a M1Pro processor but I need to emulate an x86 System...

@LukasM937 LukasM937 changed the title OpenGL support is disabled Invalid accelerator hvf Nov 23, 2021
@LukasM937
Copy link
Author

Note, I have changed the subject, and main post, since the original issue (that OpenGL is disabled where addressed via other posts

@smerrill
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants