Skip to contentSkip to conversation

KVM test: Allways pass nic_model explicitly

PATCH New Lucas Meneghel Rodrigues 1 participant 1 message Feb 2, 2010 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 KVM test: Allways pass nic_model explicitly

Since qemu-kvm has as default nic rtl8139, and qemu has as default e1000, let's allways pass on the nic_model parameter. Also, let's append an @ to e1000 session, so its name is not appended to the test tag.

---
 client/tests/kvm/tests_base.cfg.sample |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
client/tests/kvm/tests_base.cfg.sample +4 -5
index 2d03f1f..917b007 100644
@@ -276,12 +276,11 @@ variants:
 # NICs
 variants:
     - @rtl8139:
-    - virtio:       rtl8139.install rtl8139.setup
-        no install setup
-        nic_model = virtio
-    - e1000:        rtl8139.install rtl8139.setup
-        no install setup
+        nic_model = rtl8139
+    - @e1000:
         nic_model = e1000
+    - virtio:
+        nic_model = virtio
 
 
 # Guests
Signature · 1 line
1.6.6