]> xenbits.xensource.com Git - libvirt.git/commitdiff
xlconfigtests: use qemu-xen in all test data files
authorJim Fehlig <jfehlig@suse.com>
Thu, 12 May 2016 20:40:29 +0000 (14:40 -0600)
committerJim Fehlig <jfehlig@suse.com>
Fri, 13 May 2016 16:08:34 +0000 (10:08 -0600)
Some of the test configuration files in tests/xlconfigdata
use the old qemu-dm as the emulator. Many of the configuration
features tested (spice, rbd, multi-usb) are not even usable with
the old qemu. Change these files to use the new qemu-xen (also
known as qemu upstream) emulator.

Note: This change fixes xlconfigtest failures when the old
qemu is actually installed on the system. During device post
parse, the libxl driver attempts to invoke the emulator to
determine if it is the old or new qemu so it can properly set
video RAM defaults. With the old qemu installed, the default
video RAM was set differently than the expected value.
Changing all the test data files to use qemu-xen ensures
predictable results wrt default video RAM size.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
18 files changed:
tests/xlconfigdata/test-disk-positional-parms-full.cfg
tests/xlconfigdata/test-disk-positional-parms-full.xml
tests/xlconfigdata/test-disk-positional-parms-partial.cfg
tests/xlconfigdata/test-disk-positional-parms-partial.xml
tests/xlconfigdata/test-fullvirt-multiusb.cfg
tests/xlconfigdata/test-fullvirt-multiusb.xml
tests/xlconfigdata/test-fullvirt-nohap.cfg
tests/xlconfigdata/test-fullvirt-nohap.xml
tests/xlconfigdata/test-new-disk.cfg
tests/xlconfigdata/test-new-disk.xml
tests/xlconfigdata/test-rbd-multihost-noauth.cfg
tests/xlconfigdata/test-rbd-multihost-noauth.xml
tests/xlconfigdata/test-spice-features.cfg
tests/xlconfigdata/test-spice-features.xml
tests/xlconfigdata/test-spice.cfg
tests/xlconfigdata/test-spice.xml
tests/xlconfigdata/test-vif-rate.cfg
tests/xlconfigdata/test-vif-rate.xml

index c5bbb03bf1ef584785fee1d1863fcde58257623c..217d4dccf382765fafe3ce6419df4148e6080031 100644 (file)
@@ -12,7 +12,7 @@ localtime = 0
 on_poweroff = "destroy"
 on_reboot = "restart"
 on_crash = "restart"
-device_model = "/usr/lib/xen/bin/qemu-dm"
+device_model = "/usr/lib/xen/bin/qemu-system-i386"
 sdl = 0
 vnc = 1
 vncunused = 1
index 41e8804ec6f9362d658f97ad98814feb13d7ca80..1bc5b436e0c8b5188912c05203d6cfeb33f24375 100644 (file)
@@ -19,7 +19,7 @@
   <on_reboot>restart</on_reboot>
   <on_crash>restart</on_crash>
   <devices>
-    <emulator>/usr/lib/xen/bin/qemu-dm</emulator>
+    <emulator>/usr/lib/xen/bin/qemu-system-i386</emulator>
     <disk type='block' device='disk'>
       <driver name='phy' type='raw'/>
       <source dev='/dev/HostVG/XenGuest2'/>
index 09eeb946795c9a602164b21161ad38d083cfe379..fd16db04c19894835e8746a710e0659360ee1e43 100644 (file)
@@ -12,7 +12,7 @@ localtime = 0
 on_poweroff = "destroy"
 on_reboot = "restart"
 on_crash = "restart"
-device_model = "/usr/lib/xen/bin/qemu-dm"
+device_model = "/usr/lib/xen/bin/qemu-system-i386"
 sdl = 0
 vnc = 1
 vncunused = 1
index 6578e59863b5b2d022321f94e984fa04cb1c312a..e86a5be192891493b1641bbe9a0016cce2def268 100644 (file)
@@ -19,7 +19,7 @@
   <on_reboot>restart</on_reboot>
   <on_crash>restart</on_crash>
   <devices>
-    <emulator>/usr/lib/xen/bin/qemu-dm</emulator>
+    <emulator>/usr/lib/xen/bin/qemu-system-i386</emulator>
     <disk type='block' device='disk'>
       <driver name='phy' type='raw'/>
       <source dev='/dev/HostVG/XenGuest2'/>
index 003eb2b139cc45613c4c9367f89878ad93013d8e..6d456deb214870886a96e62dc3a8e799ac38e4eb 100755 (executable)
@@ -12,7 +12,7 @@ localtime = 0
 on_poweroff = "destroy"
 on_reboot = "restart"
 on_crash = "restart"
-device_model = "/usr/lib/xen/bin/qemu-dm"
+device_model = "/usr/lib/xen/bin/qemu-system-i386"
 sdl = 0
 vnc = 1
 vncunused = 1
index d7df23a452347dbe43b5ddbdc41275d33e1e8d95..fcd14e97564dce0045482c7228d94bbae221d04d 100644 (file)
@@ -19,7 +19,7 @@
   <on_reboot>restart</on_reboot>
   <on_crash>restart</on_crash>
   <devices>
-    <emulator>/usr/lib/xen/bin/qemu-dm</emulator>
+    <emulator>/usr/lib/xen/bin/qemu-system-i386</emulator>
     <disk type='block' device='disk'>
       <driver name='phy' type='raw'/>
       <source dev='/dev/HostVG/XenGuest2'/>
index 44bfa3c95724686f0d087973ff15e64317256f72..e7e933df6e245bb97f66a8845a1a08ab0ac431d4 100644 (file)
@@ -13,7 +13,7 @@ localtime = 0
 on_poweroff = "destroy"
 on_reboot = "restart"
 on_crash = "restart"
-device_model = "/usr/lib/xen/bin/qemu-dm"
+device_model = "/usr/lib/xen/bin/qemu-system-i386"
 sdl = 0
 vnc = 1
 vncunused = 1
index 9cd7b0b560740240db2acb18e786708c707a4538..e57e28bc246b907b691e96c54ae429c422111dd9 100644 (file)
@@ -20,7 +20,7 @@
   <on_reboot>restart</on_reboot>
   <on_crash>restart</on_crash>
   <devices>
-    <emulator>/usr/lib/xen/bin/qemu-dm</emulator>
+    <emulator>/usr/lib/xen/bin/qemu-system-i386</emulator>
     <disk type='block' device='disk'>
       <driver name='phy' type='raw'/>
       <source dev='/dev/HostVG/XenGuest2'/>
index b079056b1447f188f21ada06638e79b4c3b7f834..4fe76b257f5d9a2fb725a2497344c4adb0583eb2 100644 (file)
@@ -12,7 +12,7 @@ localtime = 0
 on_poweroff = "destroy"
 on_reboot = "restart"
 on_crash = "restart"
-device_model = "/usr/lib/xen/bin/qemu-dm"
+device_model = "/usr/lib/xen/bin/qemu-system-i386"
 sdl = 0
 vnc = 1
 vncunused = 1
index 41e8804ec6f9362d658f97ad98814feb13d7ca80..1bc5b436e0c8b5188912c05203d6cfeb33f24375 100644 (file)
@@ -19,7 +19,7 @@
   <on_reboot>restart</on_reboot>
   <on_crash>restart</on_crash>
   <devices>
-    <emulator>/usr/lib/xen/bin/qemu-dm</emulator>
+    <emulator>/usr/lib/xen/bin/qemu-system-i386</emulator>
     <disk type='block' device='disk'>
       <driver name='phy' type='raw'/>
       <source dev='/dev/HostVG/XenGuest2'/>
index 99f08897afe8599cd0f166ee145f6f911f4b1ec3..01c15d59a13a1d2f94709b19fa66467b4da35c27 100644 (file)
@@ -12,7 +12,7 @@ localtime = 0
 on_poweroff = "destroy"
 on_reboot = "restart"
 on_crash = "restart"
-device_model = "/usr/lib/xen/bin/qemu-dm"
+device_model = "/usr/lib/xen/bin/qemu-system-i386"
 sdl = 0
 vnc = 1
 vncunused = 1
index 728aa1e9587cd06405edd5d701a1ed264494c8f5..ef9bd178a2eb6ca996cec906f319aeb18e20e9b2 100644 (file)
@@ -19,7 +19,7 @@
   <on_reboot>restart</on_reboot>
   <on_crash>restart</on_crash>
   <devices>
-    <emulator>/usr/lib/xen/bin/qemu-dm</emulator>
+    <emulator>/usr/lib/xen/bin/qemu-system-i386</emulator>
     <disk type='block' device='disk'>
       <driver name='phy' type='raw'/>
       <source dev='/dev/HostVG/XenGuest2'/>
index 48dcd864ff48e157159a65a1f1853e94c7c1f783..f8a25e497a267374dcf1bb29aef17d5faa67abdd 100644 (file)
@@ -12,7 +12,7 @@ localtime = 0
 on_poweroff = "destroy"
 on_reboot = "restart"
 on_crash = "restart"
-device_model = "/usr/lib/xen/bin/qemu-dm"
+device_model = "/usr/lib/xen/bin/qemu-system-i386"
 vif = [ "mac=00:16:3e:66:92:9c,bridge=xenbr1,script=vif-bridge,model=e1000" ]
 parallel = "none"
 serial = "none"
index 3820732a4e8d335cf5c743bc3de8960e6aa72251..81757607c368f9e802b8a7d4c2f084a335b8dc3f 100644 (file)
@@ -19,7 +19,7 @@
   <on_reboot>restart</on_reboot>
   <on_crash>restart</on_crash>
   <devices>
-    <emulator>/usr/lib/xen/bin/qemu-dm</emulator>
+    <emulator>/usr/lib/xen/bin/qemu-system-i386</emulator>
     <disk type='block' device='disk'>
       <driver name='phy' type='raw'/>
       <source dev='/dev/HostVG/XenGuest2'/>
index 7ab23e1f959478532e58e000102c26fad32e94cd..abdf63dd254fc2e179f2a281228832c7bccc8966 100644 (file)
@@ -12,7 +12,7 @@ localtime = 0
 on_poweroff = "destroy"
 on_reboot = "restart"
 on_crash = "restart"
-device_model = "/usr/lib/xen/bin/qemu-dm"
+device_model = "/usr/lib/xen/bin/qemu-system-i386"
 vif = [ "mac=00:16:3e:66:92:9c,bridge=xenbr1,script=vif-bridge,model=e1000" ]
 parallel = "none"
 serial = "none"
index f33691fd19cd5c2af6f8bee578b58d36b40e3971..32cad27216c3f915b0621569e562be4175dd6257 100644 (file)
@@ -19,7 +19,7 @@
   <on_reboot>restart</on_reboot>
   <on_crash>restart</on_crash>
   <devices>
-    <emulator>/usr/lib/xen/bin/qemu-dm</emulator>
+    <emulator>/usr/lib/xen/bin/qemu-system-i386</emulator>
     <disk type='block' device='disk'>
       <driver name='phy' type='raw'/>
       <source dev='/dev/HostVG/XenGuest2'/>
index db932e55ed36420e5dce8d9055658eb32bb7e1f0..34a19a29b609208f32462a80fc9a208bcf6b1d21 100644 (file)
@@ -12,7 +12,7 @@ localtime = 0
 on_poweroff = "destroy"
 on_reboot = "restart"
 on_crash = "restart"
-device_model = "/usr/lib/xen/bin/qemu-dm"
+device_model = "/usr/lib/xen/bin/qemu-system-i386"
 sdl = 0
 vnc = 1
 vncunused = 1
index 3620e2a0590cc1843eb6ada730eed182b324a00d..3ab74883a3aff6986a59e51a4db4ea1a1f49563f 100644 (file)
@@ -19,7 +19,7 @@
   <on_reboot>restart</on_reboot>
   <on_crash>restart</on_crash>
   <devices>
-    <emulator>/usr/lib/xen/bin/qemu-dm</emulator>
+    <emulator>/usr/lib/xen/bin/qemu-system-i386</emulator>
     <disk type='block' device='disk'>
       <driver name='phy' type='raw'/>
       <source dev='/dev/HostVG/XenGuest2'/>