[gnome-continuous-yocto/gnomeostree-3.28-rocko: 2369/8267] runqemu: Update to modern prefrerred net syntax
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 2369/8267] runqemu: Update to modern prefrerred net syntax
- Date: Sat, 16 Dec 2017 23:08:01 +0000 (UTC)
commit eb1494f9da5a6b5a5453d692c9e258f1a7b0aee4
Author: Richard Purdie <richard purdie linuxfoundation org>
Date: Tue Sep 6 23:17:07 2016 +0100
runqemu: Update to modern prefrerred net syntax
(From OE-Core rev: 5e61766d976b6d036946c1b4e4ac742a33a03815)
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
scripts/runqemu | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/scripts/runqemu b/scripts/runqemu
index c43db8c..b9dbe97 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -741,7 +741,7 @@ class BaseConfig(object):
if qb_tap_opt:
qemu_tap_opt = qb_tap_opt.replace('@TAP@', tap).replace('@MAC@', mac)
else:
- qemu_tap_opt = "-net nic,model=virtio,mac=%s -net tap,vlan=0,ifname=%s,script=no,downscript=no"
% (mac, self.tap)
+ qemu_tap_opt = "-device virtio-net-pci,netdev=net0,mac=%s -netdev
tap,id=net0,ifname=%s,script=no,downscript=no" % (mac, self.tap)
if self.vhost_enabled:
qemu_tap_opt += ',vhost=on'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]