homebrew-qemu-virgl icon indicating copy to clipboard operation
homebrew-qemu-virgl copied to clipboard

Windows Host - No Network

Open mikev1963 opened this issue 2 years ago • 3 comments

I am trying to run a Windows 10 desktop but there is not network. Here is my configuration:

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-gl
-device usb-kbd
-device virtio-mouse-pci
-display cocoa,gl=es
-netdev vmnet-bridged,id=net0,ifname=en0
-device virtio-net,netdev=net0
-drive "file=virtio-win-0.1.215.iso,index=1,media=cdrom"
-drive "if=virtio,format=raw,file=hdd.raw,if=ide,discard=on"

Once Windows starts I do not have any ethernet interfaces.

Any help would be appreciated.

mikev1963 avatar Mar 14 '22 17:03 mikev1963

Try -device virtio-net,netdev=net0,mac=52:54:00:c9:18:27. Also, that would be a Windows guest, not host.

DUOLabs333 avatar Mar 16 '22 18:03 DUOLabs333

No network with Bliss OS either. -net nic,model=virtio-net-pci -net user,hostfwd=tcp::4444-:5555

hamzaahmedzia1 avatar Jul 17 '22 05:07 hamzaahmedzia1

Weird, I got it working before, so I know it's possible.

DUOLabs333 avatar Jul 17 '22 10:07 DUOLabs333