diff mbox

[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 284: Explicitly specify network options for QEMU. This avoids random network configuration failures at...

Message ID 20120509020610.22722.65287.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Michael-Doyle Hudson May 9, 2012, 2:06 a.m. UTC
Merge authors:
  Luis Araujo (luis-araujo)
Related merge proposals:
  https://code.launchpad.net/~luis-araujo/lava-dispatcher/specify-qemu-network/+merge/105072
  proposed by: Luis Araujo (luis-araujo)
  review: Approve - Michael Hudson-Doyle (mwhudson)
------------------------------------------------------------
revno: 284 [merge]
committer: Michael Hudson-Doyle <michael.hudson@linaro.org>
branch nick: trunk
timestamp: Wed 2012-05-09 14:04:28 +1200
message:
  Explicitly specify network options for QEMU. This avoids random network configuration failures at boot time. (Luis Araujo)
modified:
  lava_dispatcher/client/qemu.py


--
lp:lava-dispatcher
https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk

You are subscribed to branch lp:lava-dispatcher.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'lava_dispatcher/client/qemu.py'
--- lava_dispatcher/client/qemu.py	2012-03-26 11:46:50 +0000
+++ lava_dispatcher/client/qemu.py	2012-05-08 14:01:53 +0000
@@ -102,7 +102,7 @@ 
         qemu_cmd = ('%s -M %s -drive if=%s,cache=writeback,file=%s '
                     '-clock unix -device usb-kbd -device usb-mouse -usb '
                     '-device usb-net,netdev=mynet -netdev user,id=mynet '
-                    '-nographic') % (
+                    '-net nic -net user -nographic') % (
             self.context.config.get('default_qemu_binary'),
             self.device_option('qemu_machine_type'),
             self.device_option('qemu_drive_interface'),