WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Fix xmtest 13_create_multinic_pos.py to work with HVM.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix xmtest 13_create_multinic_pos.py to work with HVM.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 10 Mar 2006 02:06:06 +0000
Delivery-date: Fri, 10 Mar 2006 02:06:54 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User stekloff@xxxxxxxxxxxxxxxxxxxxxxxxxx
# Node ID b13e54483c1aedf59e66e4addaa03eba70019780
# Parent  e31f21fc391df06e74685ad59c4943370fa6b3f5
Fix xmtest 13_create_multinic_pos.py to work with HVM.

Signed-off-by: Daniel Stekloff <dsteklof@xxxxxxxxxx>

diff -r e31f21fc391d -r b13e54483c1a 
tools/xm-test/tests/create/13_create_multinic_pos.py
--- a/tools/xm-test/tests/create/13_create_multinic_pos.py      Thu Mar  9 
22:07:27 2006
+++ b/tools/xm-test/tests/create/13_create_multinic_pos.py      Thu Mar  9 
23:49:08 2006
@@ -5,8 +5,16 @@
 
 from XmTestLib import *
 
-for i in range(0,10):
-    config = {"vif": ['' for _ in range(0, i)]}
+# The current device model, qemu-dm, only supports 8 MAX_NICS currently.
+if ENABLE_HVM_SUPPORT:
+    MAX_NICS = 8
+    nic = "type=ioemu, bridge=xenbr0"
+else:
+    MAX_NICS = 10
+    nic = ''
+
+for i in range(0,MAX_NICS):
+    config = {"vif": [ nic ] * i}
     domain = XmTestDomain(extraConfig=config)
 
     try:

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix xmtest 13_create_multinic_pos.py to work with HVM., Xen patchbot -unstable <=