]> code.ossystems Code Review - openembedded-core.git/commitdiff
qemuppc: Use virtio networking instead of pcnet
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 5 Sep 2016 16:38:58 +0000 (17:38 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 9 Sep 2016 11:00:49 +0000 (12:00 +0100)
qemuppc can use virtio networking and we may as well do so for better
prformance as we do under the other emulated hardware.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/machine/qemuppc.conf

index 580bbca6c6f0294bcc45cae0793d365ff4fc5ed6..939c834a33d667bb54d2d6b890b02a65f7ea91af 100644 (file)
@@ -17,4 +17,4 @@ QB_MACHINE = "-machine mac99"
 QB_CPU = "-cpu G4"
 QB_KERNEL_CMDLINE_APPEND = "console=ttyS0 console=tty"
 QB_OPT_APPEND = "-show-cursor -usb -usbdevice tablet"
-QB_TAP_OPT = "-net tap,vlan=0,ifname=@TAP@,script=no,downscript=no -net nic,model=pcnet"
+QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no -device virtio-net-pci,netdev=net0"