OS X Yosemite 10.10.4:
qemu -netdev bridge,id=br0,br=br0 \
-device virtio-net-pci,netdev=br0,id=mac_vnet0 \
-netdev user,smb=/,id=user0 \
-device virtio-net-pci,netdev=user0,id=mac_vnet1 \
[ ... ]
both interfaces show in "Network" as "Not Connected", "Cable Unplugged" and in ifconfig as UP,RUNNING but inactive. Safari of course reports "You Are Not Connected to the Internet".
obviously the driver is running since the interfaces are present, but I checked by kextstat | grep virtio.
the same setup works correctly (i.e. Internet access, SMB) with e1000-82545em. specifying a single bridge device also does not work. nor does the -net nic,model=virtio syntax.
OS X Yosemite 10.10.4:
both interfaces show in "Network" as "Not Connected", "Cable Unplugged" and in
ifconfigasUP,RUNNINGbutinactive. Safari of course reports "You Are Not Connected to the Internet".obviously the driver is running since the interfaces are present, but I checked by
kextstat | grep virtio.the same setup works correctly (i.e. Internet access, SMB) with
e1000-82545em. specifying a singlebridgedevice also does not work. nor does the-net nic,model=virtiosyntax.