aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-05 17:38:58 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-09 12:00:49 +0100
commit8a82ded799be79eacb64cf313b6f2799a4f5ffab (patch)
treedc0afeabb9e3ec6b8176c136637c7f07e5cf4425
parent2c8e5657cafafe848c7e7c714e5e73bb82799d65 (diff)
downloadopenembedded-core-contrib-8a82ded799be79eacb64cf313b6f2799a4f5ffab.tar.gz
qemuppc: Use virtio networking instead of pcnet
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>
-rw-r--r--meta/conf/machine/qemuppc.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/machine/qemuppc.conf b/meta/conf/machine/qemuppc.conf
index 580bbca6c6..939c834a33 100644
--- a/meta/conf/machine/qemuppc.conf
+++ b/meta/conf/machine/qemuppc.conf
@@ -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"