summaryrefslogtreecommitdiff
path: root/tests/xmconfigdata/test-fullvirt-parallel-tcp.cfg
diff options
context:
space:
mode:
authorJiri Denemark <jdenemar@redhat.com>2010-08-23 14:58:08 +0200
committerJiri Denemark <jdenemar@redhat.com>2010-08-24 10:10:16 +0200
commit20311a9af839a4d2f5b628b70aa5ee24b4dd77e8 (patch)
treec298d468d71b45a0f5212240b95ea3c0c83a537e /tests/xmconfigdata/test-fullvirt-parallel-tcp.cfg
parent0eb009d273e8b2314bcdbe41489eb0111666af11 (diff)
downloadlibvirt-20311a9af839a4d2f5b628b70aa5ee24b4dd77e8.tar.gz
xen tests: Fix missing "type ioemu" with rhel5-api
The most common cause of errors with rhel5-api turn on was missing "(type ioemu)" in sexpr or its equivalent in XM configuration file. This happens because the presence of that part in sexpr (or cfg) depends on xen version the host is running. Let's avoid it by explicitly specifying interface model which ensures "type ioemu" will always be emitted. This patch adds <model type='e1000'/> withing the interface element in all affected xml files. And (model 'e1000') to all corresponding sexpr files with similar fix to cfg files. Such configuration works regardless on Xen version.
Diffstat (limited to 'tests/xmconfigdata/test-fullvirt-parallel-tcp.cfg')
-rwxr-xr-xtests/xmconfigdata/test-fullvirt-parallel-tcp.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/xmconfigdata/test-fullvirt-parallel-tcp.cfg b/tests/xmconfigdata/test-fullvirt-parallel-tcp.cfg
index 23f6111d7e..4588f1fa97 100755
--- a/tests/xmconfigdata/test-fullvirt-parallel-tcp.cfg
+++ b/tests/xmconfigdata/test-fullvirt-parallel-tcp.cfg
@@ -20,6 +20,6 @@ vncunused = 1
vnclisten = "127.0.0.1"
vncpasswd = "123poi"
disk = [ "phy:/dev/HostVG/XenGuest2,hda,w", "file:/root/boot.iso,hdc:cdrom,r" ]
-vif = [ "mac=00:16:3e:66:92:9c,bridge=xenbr1,script=vif-bridge,type=ioemu" ]
+vif = [ "mac=00:16:3e:66:92:9c,bridge=xenbr1,script=vif-bridge,model=e1000,type=ioemu" ]
parallel = "tcp:127.0.0.1:7777"
serial = "none"