]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: rename hugepages-pages3 into hugepages-numa-nodeset-part
authorPavel Hrdina <phrdina@redhat.com>
Fri, 10 Aug 2018 11:10:29 +0000 (13:10 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Fri, 10 Aug 2018 15:06:48 +0000 (17:06 +0200)
Remove unnecessary XML elements as well.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
tests/qemuxml2argvdata/hugepages-numa-nodeset-part.args [moved from tests/qemuxml2argvdata/hugepages-pages3.args with 78% similarity]
tests/qemuxml2argvdata/hugepages-numa-nodeset-part.xml [moved from tests/qemuxml2argvdata/hugepages-pages3.xml with 77% similarity]
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/hugepages-numa-nodeset-part.xml [moved from tests/qemuxml2xmloutdata/hugepages-pages3.xml with 67% similarity]
tests/qemuxml2xmltest.c

similarity index 78%
rename from tests/qemuxml2argvdata/hugepages-pages3.args
rename to tests/qemuxml2argvdata/hugepages-numa-nodeset-part.args
index 0835f2db61162de5f947a960bc731a85d6717b4a..c6e11dd6c20360aa527c1b57c8f947f3109680b7 100644 (file)
@@ -25,8 +25,4 @@ path=/tmp/lib/domain--1-SomeDummyHugepagesGu/monitor.sock,server,nowait \
 -rtc base=utc \
 -no-shutdown \
 -no-acpi \
--usb \
--drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
--device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,\
-bootindex=1 \
--device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
+-usb
similarity index 77%
rename from tests/qemuxml2argvdata/hugepages-pages3.xml
rename to tests/qemuxml2argvdata/hugepages-numa-nodeset-part.xml
index 3d3b3f3cc3fcb0e3a138f8291edfe3de6dbc937a..b19bdedb365f918d4ce7cbe3213dc777707d798e 100644 (file)
   <on_crash>destroy</on_crash>
   <devices>
     <emulator>/usr/bin/qemu-system-i686</emulator>
-    <disk type='block' device='disk'>
-      <source dev='/dev/HostVG/QEMUGuest1'/>
-      <target dev='hda' bus='ide'/>
-      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
-    </disk>
     <controller type='usb' index='0'/>
-    <controller type='ide' index='0'/>
     <controller type='pci' index='0' model='pci-root'/>
     <input type='mouse' bus='ps2'/>
     <input type='keyboard' bus='ps2'/>
-    <memballoon model='virtio'/>
+    <memballoon model='none'/>
   </devices>
 </domain>
index c5ac4cd0e25eb5d70ddf3ecbac07f25f73720a15..1a3ed9c98517ffc85cfeff51c9556e720665cb69 100644 (file)
@@ -963,7 +963,8 @@ mymain(void)
     DO_TEST("hugepages-numa-nodeset",
             QEMU_CAPS_OBJECT_MEMORY_RAM,
             QEMU_CAPS_OBJECT_MEMORY_FILE);
-    DO_TEST("hugepages-pages3", QEMU_CAPS_OBJECT_MEMORY_RAM,
+    DO_TEST("hugepages-numa-nodeset-part",
+            QEMU_CAPS_OBJECT_MEMORY_RAM,
             QEMU_CAPS_OBJECT_MEMORY_FILE);
     DO_TEST("hugepages-shared",
             QEMU_CAPS_OBJECT_MEMORY_RAM,
similarity index 67%
rename from tests/qemuxml2xmloutdata/hugepages-pages3.xml
rename to tests/qemuxml2xmloutdata/hugepages-numa-nodeset-part.xml
index be21c3eddd9332f09b40da7f20fa706a61cf712d..1230edfd0273132baf2043fba3a4f973c12066f6 100644 (file)
   <on_crash>destroy</on_crash>
   <devices>
     <emulator>/usr/bin/qemu-system-i686</emulator>
-    <disk type='block' device='disk'>
-      <driver name='qemu' type='raw'/>
-      <source dev='/dev/HostVG/QEMUGuest1'/>
-      <target dev='hda' bus='ide'/>
-      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
-    </disk>
     <controller type='usb' index='0'>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
     </controller>
-    <controller type='ide' index='0'>
-      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
-    </controller>
     <controller type='pci' index='0' model='pci-root'/>
     <input type='mouse' bus='ps2'/>
     <input type='keyboard' bus='ps2'/>
-    <memballoon model='virtio'>
-      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
-    </memballoon>
+    <memballoon model='none'/>
   </devices>
 </domain>
index 9821403d1e9d55692c90f7a6ae18e4192525b60f..15ced2a19fd465bcfc6b90028d0c2b0ff434da4c 100644 (file)
@@ -331,7 +331,7 @@ mymain(void)
     DO_TEST("hugepages-numa-default-2M", NONE);
     DO_TEST("hugepages-numa-default-dimm", NONE);
     DO_TEST("hugepages-numa-nodeset", NONE);
-    DO_TEST("hugepages-pages3", NONE);
+    DO_TEST("hugepages-numa-nodeset-part", NONE);
     DO_TEST("hugepages-pages4", NONE);
     DO_TEST("hugepages-pages5", NONE);
     DO_TEST("hugepages-pages6", NONE);