knazarov / homebrew-qemu-virgl

A homebrew tap for qemu with support for 3d accelerated guests
415 stars 68 forks source link

Hostfwd isn't supported by vmnet #50

Closed DUOLabs333 closed 3 years ago

DUOLabs333 commented 3 years ago

My configuration is this:

qemu-system-aarch64 \
-M virt,accel=hvf,highmem=off -m 2G \
-cpu cortex-a57 \
-kernel Arch/Image \
-initrd Arch/initramfs-linux.img \
-append "root=/dev/vda2 rw console=ttyAMA0" \
-drive file=Arch/Arch1.img,format=raw,index=0,media=disk  \
-netdev vmnet-macos,id=net0,mode=bridged,ifname=en0 \
-device virtio-net,netdev=net0 \
-smp 4 \
-device virtio-gpu-pci \
-device virtio-keyboard-pci \
-device virtio-mouse-pci \
-device intel-hda -device hda-output \
-nographic

However, whenever I try to start, it always says, hostfwd isn't supported.

DUOLabs333 commented 3 years ago

I got around this by realizing my VM keeps on getting a static internal IP address, so I just used that instead.