Open mikev1963 opened 2 years ago
Try -device virtio-net,netdev=net0,mac=52:54:00:c9:18:27
. Also, that would be a Windows guest, not host.
No network with Bliss OS either. -net nic,model=virtio-net-pci -net user,hostfwd=tcp::4444-:5555
Weird, I got it working before, so I know it's possible.
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.