]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: Clean up GIC test cases
authorAndrea Bolognani <abologna@redhat.com>
Thu, 25 Jan 2018 14:12:39 +0000 (15:12 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 29 Jan 2018 08:08:38 +0000 (09:08 +0100)
These test cases are supposed to verify GIC support works as
expected, and shouldn't concern themselves with other features;
we can trim them down significantly, and make them less likely
to need updating after unrelated changes.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
tests/qemuxml2argvdata/aarch64-gic-default.xml
tests/qemuxml2argvdata/aarch64-gic-host.xml
tests/qemuxml2argvdata/aarch64-gic-invalid.xml
tests/qemuxml2argvdata/aarch64-gic-none-tcg.xml
tests/qemuxml2argvdata/aarch64-gic-none.xml
tests/qemuxml2argvdata/aarch64-gic-not-arm.xml
tests/qemuxml2argvdata/aarch64-gic-not-virt.xml
tests/qemuxml2argvdata/aarch64-gic-v2.xml
tests/qemuxml2argvdata/aarch64-gic-v3.xml
tests/qemuxml2xmloutdata/aarch64-gic-none-tcg.xml

index b219972b385966ed5ddb74012dcf8a8bc054cc1a..accfbb0afdd3ad5f6955e82db33fc5e236a1d1e7 100644 (file)
@@ -2,21 +2,17 @@
   <name>aarch64test</name>
   <uuid>6ba410c5-1e5c-4d57-bee7-2228e7ffa32f</uuid>
   <memory unit='KiB'>1048576</memory>
-  <currentMemory unit='KiB'>1048576</currentMemory>
   <vcpu placement='static'>1</vcpu>
   <os>
     <type arch='aarch64' machine='virt'>hvm</type>
-    <boot dev='hd'/>
   </os>
   <features>
     <gic/>
   </features>
   <cpu mode='host-passthrough'/>
-  <clock offset='utc'/>
-  <on_poweroff>destroy</on_poweroff>
-  <on_reboot>restart</on_reboot>
-  <on_crash>destroy</on_crash>
   <devices>
     <emulator>/usr/bin/qemu-system-aarch64</emulator>
+    <controller type='usb' index='0' model='none'/>
+    <memballoon model='none'/>
   </devices>
 </domain>
index b14d14281f6e8f5f337a35004edb48010a103304..561f6edc6c629829c851c6fb69c2ef94ebd4c610 100644 (file)
@@ -18,5 +18,7 @@
   <on_crash>destroy</on_crash>
   <devices>
     <emulator>/usr/bin/qemu-system-aarch64</emulator>
+    <controller type='usb' index='0' model='none'/>
+    <memballoon model='none'/>
   </devices>
 </domain>
index 1cf9ea88dbf35e61f41147bc5ecc4d8252b2d66f..98566b86df4aa8bd6e4502088464252a2c7b8397 100644 (file)
@@ -2,21 +2,17 @@
   <name>aarch64test</name>
   <uuid>6ba410c5-1e5c-4d57-bee7-2228e7ffa32f</uuid>
   <memory unit='KiB'>1048576</memory>
-  <currentMemory unit='KiB'>1048576</currentMemory>
   <vcpu placement='static'>1</vcpu>
   <os>
     <type arch='aarch64' machine='virt'>hvm</type>
-    <boot dev='hd'/>
   </os>
   <features>
     <gic version='none'/>
   </features>
   <cpu mode='host-passthrough'/>
-  <clock offset='utc'/>
-  <on_poweroff>destroy</on_poweroff>
-  <on_reboot>restart</on_reboot>
-  <on_crash>destroy</on_crash>
   <devices>
     <emulator>/usr/bin/qemu-system-aarch64</emulator>
+    <controller type='usb' index='0' model='none'/>
+    <memballoon model='none'/>
   </devices>
 </domain>
index 0aa33dbec9b58bea30598db5e250641e0101cd66..64745f3e082adcfb68a43bbdf209ed761a8959f6 100644 (file)
@@ -5,13 +5,13 @@
   <vcpu placement='static'>1</vcpu>
   <os>
     <type arch='aarch64' machine='virt'>hvm</type>
-    <boot dev='hd'/>
   </os>
   <cpu mode='custom'>
     <model>cortex-a57</model>
   </cpu>
   <devices>
     <emulator>/usr/bin/qemu-system-aarch64</emulator>
+    <controller type='usb' index='0' model='none'/>
     <memballoon model='none'/>
   </devices>
 </domain>
index 272d0c85755b7ab15944de1695cb0be26120a43f..302c132a36726a67c6b0d558bddbc93fa5bb4811 100644 (file)
@@ -2,18 +2,14 @@
   <name>aarch64test</name>
   <uuid>6ba410c5-1e5c-4d57-bee7-2228e7ffa32f</uuid>
   <memory unit='KiB'>1048576</memory>
-  <currentMemory unit='KiB'>1048576</currentMemory>
   <vcpu placement='static'>1</vcpu>
   <os>
     <type arch='aarch64' machine='virt'>hvm</type>
-    <boot dev='hd'/>
   </os>
   <cpu mode='host-passthrough'/>
-  <clock offset='utc'/>
-  <on_poweroff>destroy</on_poweroff>
-  <on_reboot>restart</on_reboot>
-  <on_crash>destroy</on_crash>
   <devices>
     <emulator>/usr/bin/qemu-system-aarch64</emulator>
+    <controller type='usb' index='0' model='none'/>
+    <memballoon model='none'/>
   </devices>
 </domain>
index 3b907bc411d695b647e6188239e0eb523a0dc104..e33bca0ef23891cf60f7fcdf641025e163cb59cd 100644 (file)
@@ -2,21 +2,17 @@
   <name>aarch64test</name>
   <uuid>6ba410c5-1e5c-4d57-bee7-2228e7ffa32f</uuid>
   <memory unit='KiB'>1048576</memory>
-  <currentMemory unit='KiB'>1048576</currentMemory>
   <vcpu placement='static'>1</vcpu>
   <os>
     <type arch='ppc64' machine='pseries'>hvm</type>
-    <boot dev='hd'/>
   </os>
   <features>
     <gic/>
   </features>
   <cpu mode='host-passthrough'/>
-  <clock offset='utc'/>
-  <on_poweroff>destroy</on_poweroff>
-  <on_reboot>restart</on_reboot>
-  <on_crash>destroy</on_crash>
   <devices>
     <emulator>/usr/bin/qemu-system-ppc64</emulator>
+    <controller type='usb' index='0' model='none'/>
+    <memballoon model='none'/>
   </devices>
 </domain>
index 256664ed844ea563d573256cd84ddb31346f2e8d..12148d99ea83b127cf36775f05f37d5a65b36a32 100644 (file)
@@ -2,21 +2,17 @@
   <name>aarch64test</name>
   <uuid>6ba410c5-1e5c-4d57-bee7-2228e7ffa32f</uuid>
   <memory unit='KiB'>1048576</memory>
-  <currentMemory unit='KiB'>1048576</currentMemory>
   <vcpu placement='static'>1</vcpu>
   <os>
     <type arch='aarch64' machine='not-virt'>hvm</type>
-    <boot dev='hd'/>
   </os>
   <features>
     <gic/>
   </features>
   <cpu mode='host-passthrough'/>
-  <clock offset='utc'/>
-  <on_poweroff>destroy</on_poweroff>
-  <on_reboot>restart</on_reboot>
-  <on_crash>destroy</on_crash>
   <devices>
     <emulator>/usr/bin/qemu-system-aarch64</emulator>
+    <controller type='usb' index='0' model='none'/>
+    <memballoon model='none'/>
   </devices>
 </domain>
index 8b9983752285593586bf38220cbd2c7d734f76fc..f451c87b71ffd3b8ded7db1a12a4b766bf005865 100644 (file)
@@ -18,5 +18,7 @@
   <on_crash>destroy</on_crash>
   <devices>
     <emulator>/usr/bin/qemu-system-aarch64</emulator>
+    <controller type='usb' index='0' model='none'/>
+    <memballoon model='none'/>
   </devices>
 </domain>
index bde94e16c0ee61cf4fe0f5d6064d3200743843f2..f3a6b9283a2e9c10aa83551904332eb8bd25560f 100644 (file)
@@ -18,5 +18,7 @@
   <on_crash>destroy</on_crash>
   <devices>
     <emulator>/usr/bin/qemu-system-aarch64</emulator>
+    <controller type='usb' index='0' model='none'/>
+    <memballoon model='none'/>
   </devices>
 </domain>
index a0cd0b768b32ad7b9bd4b962a9ac465a96d1bed7..b978439707453af67f53cdfd3ec0d4e1fe89fc1a 100644 (file)
@@ -20,6 +20,7 @@
   <on_crash>destroy</on_crash>
   <devices>
     <emulator>/usr/bin/qemu-system-aarch64</emulator>
+    <controller type='usb' index='0' model='none'/>
     <memballoon model='none'/>
   </devices>
 </domain>