knazarov / homebrew-qemu-virgl

A homebrew tap for qemu with support for 3d accelerated guests
414 stars 67 forks source link

"Parameter 'type' does not accept value 'vmnet-macos'" #71

Closed DUOLabs333 closed 2 years ago

DUOLabs333 commented 2 years ago

I just updated today, but I got an error: Parameter 'type' does not accept value 'vmnet-macos'.

My config:

sudo qemu-system-aarch64 \
-M virt,accel=hvf,highmem=off -m 7G \
-cpu cortex-a57 \
-kernel Arch/Image \
-initrd Arch/initramfs-linux.img \
-append "root=/dev/vda2 rw console=ttyAMA0" \
-drive file=Arch/Arch.img,format=raw,index=0,media=disk  \
-netdev vmnet-macos,id=net0,mode=bridged,ifname=en0 \
-device virtio-net,netdev=net0,mac=52:54:00:c9:18:27 \
-smp 4 \
-device virtio-gpu-gl-pci,xres=2880,yres=1650 \
-display cocoa,gl=es \
-soundhw hda \
-device virtio-keyboard-pci \
-device virtio-mouse-pci \
-device qemu-xhci,id=usb-controller-0 \
-chardev qemu-vdagent,id=spice,name=vdagent,clipboard=on \
-device virtio-serial-pci \
-device virtserialport,chardev=spice,name=com.redhat.spice.0 \
-device usb-host,hostbus=1,hostport=1
DUOLabs333 commented 2 years ago

Apparently, there is a breaking change: -netdev vmnet-macos,id=net0,mode=bridged,ifname=en0 is now -netdev vmnet-bridged,id=net0,ifname=en0