[dts] [PATCH] Change default e1000 interface pci adress to 00:1F:00

Yong Liu yong.liu at intel.com
Wed Jul 8 08:58:33 CEST 2015


From: Marvin Liu <yong.liu at intel.com>

For virtualization validation, default network interface should be configured
by udev rule.
Auto dhcp should be configured on this specified name interface.

Signed-off-by: Marvin Liu <yong.liu at intel.com>

diff --git a/framework/qemu_kvm.py b/framework/qemu_kvm.py
index c04b61f..4ccce81 100644
--- a/framework/qemu_kvm.py
+++ b/framework/qemu_kvm.py
@@ -110,7 +110,7 @@ class QEMUKvm(VirtBase):
 
         if not self.__default_nic:
             # add default control interface
-            def_nic = {'type': 'nic', 'opt_vlan': '0'}
+            def_nic = {'type': 'nic', 'opt_vlan': '0', 'opt_addr': '1f'}
             self.set_vm_net(**def_nic)
             def_net = {'type': 'user', 'opt_vlan': '0'}
             self.set_vm_net(**def_net)
-- 
1.9.3



More information about the dts mailing list