summaryrefslogtreecommitdiffstats
path: root/scripts/qemucommand.py
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2019-06-13 16:59:21 +0200
committerGitHub <noreply@github.com>2019-06-13 16:59:21 +0200
commit1c049cbaec927971b0425e608b68551a4d2b898b (patch)
tree1b549011977622f2883bd13ac2c299f29609838c /scripts/qemucommand.py
parent9725c55078e6216437904aa63d5bb5c632f92302 (diff)
parent249254d0100eb19a2be5929cc14ee9f64bf0dd7c (diff)
downloadmeta-updater-1c049cbaec927971b0425e608b68551a4d2b898b.tar.gz
Merge pull request #526 from advancedtelematic/refactor/thud/renaming-secondaries-etc
Refactor/thud/renaming secondaries etc
Diffstat (limited to 'scripts/qemucommand.py')
-rw-r--r--scripts/qemucommand.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/qemucommand.py b/scripts/qemucommand.py
index cafab6d..1049d7c 100644
--- a/scripts/qemucommand.py
+++ b/scripts/qemucommand.py
@@ -109,8 +109,8 @@ class QemuCommand(object):
109 cmdline += ['-net', 'dump,file=' + self.pcap] 109 cmdline += ['-net', 'dump,file=' + self.pcap]
110 if self.secondary_network: 110 if self.secondary_network:
111 cmdline += [ 111 cmdline += [
112 '-net', 'nic,vlan=1,macaddr='+random_mac(), 112 '-netdev', 'socket,id=vlan1,mcast=230.0.0.1:1234,localaddr=127.0.0.1',
113 '-net', 'socket,vlan=1,mcast=230.0.0.1:1234,localaddr=127.0.0.1', 113 '-device', 'e1000,netdev=vlan1,mac='+random_mac(),
114 ] 114 ]
115 if self.gui: 115 if self.gui:
116 cmdline += ["-serial", "stdio"] 116 cmdline += ["-serial", "stdio"]