|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Fix xmtest 13_create_multinic_pos.py to work with HVM.
# 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 <=
|
|
|
|
|