summaryrefslogtreecommitdiff
path: root/tests/xmconfigdata/test-fullvirt-old-cdrom.xml
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-old-cdrom.xml
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-old-cdrom.xml')
-rw-r--r--tests/xmconfigdata/test-fullvirt-old-cdrom.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/xmconfigdata/test-fullvirt-old-cdrom.xml b/tests/xmconfigdata/test-fullvirt-old-cdrom.xml
index bc76745790..97965d51d6 100644
--- a/tests/xmconfigdata/test-fullvirt-old-cdrom.xml
+++ b/tests/xmconfigdata/test-fullvirt-old-cdrom.xml
@@ -35,6 +35,7 @@
<mac address='00:16:3e:66:92:9c'/>
<source bridge='xenbr0'/>
<script path='vif-bridge'/>
+ <model type='e1000'/>
</interface>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'/>