]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemuxml2argvdata: Drop useless spaces at the beginning of lines
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 29 Mar 2019 15:30:04 +0000 (16:30 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 3 Apr 2019 14:37:19 +0000 (16:37 +0200)
There are three test XMLs that have useless spaces at the
beginning of each line. I intend to add these to qemuxml2xmltest
and make xmlout a symlink to the original XML. In order to do
that the XMLs must look better than they do now.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxml2argvdata/fd-memory-numa-topology2.xml
tests/qemuxml2argvdata/fd-memory-numa-topology3.xml
tests/qemuxml2argvdata/memfd-memory-numa.xml

index 49beff188bf81b2496d7c375c16c44b93f0fd821..31f4567737d4d3bd3f45fa6d712e9a834201b4bc 100644 (file)
@@ -1,31 +1,31 @@
-  <domain type='kvm' id='56'>
-    <name>instance-00000092</name>
-    <uuid>126f2720-6f8e-45ab-a886-ec9277079a67</uuid>
-    <memory unit='KiB'>14680064</memory>
-    <currentMemory unit='KiB'>14680064</currentMemory>
-    <memoryBacking>
-      <source type='file'/>
-      <access mode='private'/>
-      <allocation mode='immediate'/>
-    </memoryBacking>
-    <vcpu placement='static'>20</vcpu>
-    <os>
-      <type arch='x86_64' machine='pc-i440fx-wily'>hvm</type>
-      <boot dev='hd'/>
-    </os>
-    <cpu>
-      <topology sockets='1' cores='8' threads='1'/>
-      <numa>
-        <cell id='0' cpus='0-7' memory='14680064' unit='KiB'/>
-        <cell id='1' cpus='8-15' memory='14680064' unit='KiB' memAccess='shared'/>
-      </numa>
-    </cpu>
-    <clock offset='utc'/>
-    <on_poweroff>destroy</on_poweroff>
-    <on_reboot>restart</on_reboot>
-    <on_crash>destroy</on_crash>
-    <devices>
-      <emulator>/usr/bin/qemu-system-x86_64</emulator>
-      <memballoon model='virtio'/>
-    </devices>
-  </domain>
+<domain type='kvm' id='56'>
+  <name>instance-00000092</name>
+  <uuid>126f2720-6f8e-45ab-a886-ec9277079a67</uuid>
+  <memory unit='KiB'>14680064</memory>
+  <currentMemory unit='KiB'>14680064</currentMemory>
+  <memoryBacking>
+    <source type='file'/>
+    <access mode='private'/>
+    <allocation mode='immediate'/>
+  </memoryBacking>
+  <vcpu placement='static'>20</vcpu>
+  <os>
+    <type arch='x86_64' machine='pc-i440fx-wily'>hvm</type>
+    <boot dev='hd'/>
+  </os>
+  <cpu>
+    <topology sockets='1' cores='8' threads='1'/>
+    <numa>
+      <cell id='0' cpus='0-7' memory='14680064' unit='KiB'/>
+      <cell id='1' cpus='8-15' memory='14680064' unit='KiB' memAccess='shared'/>
+    </numa>
+  </cpu>
+  <clock offset='utc'/>
+  <on_poweroff>destroy</on_poweroff>
+  <on_reboot>restart</on_reboot>
+  <on_crash>destroy</on_crash>
+  <devices>
+    <emulator>/usr/bin/qemu-system-x86_64</emulator>
+    <memballoon model='virtio'/>
+  </devices>
+</domain>
index 7933507592c4d8f30512a877a6fe7ad99d09fc34..42d8a3bdadb4dae46fe3cf7728d6a617ccfa3ec3 100644 (file)
@@ -1,32 +1,32 @@
-  <domain type='kvm' id='56'>
-    <name>instance-00000092</name>
-    <uuid>126f2720-6f8e-45ab-a886-ec9277079a67</uuid>
-    <memory unit='KiB'>14680064</memory>
-    <currentMemory unit='KiB'>14680064</currentMemory>
-    <memoryBacking>
-      <source type='file'/>
-      <access mode='shared'/>
-      <allocation mode='immediate'/>
-    </memoryBacking>
-    <vcpu placement='static'>32</vcpu>
-    <os>
-      <type arch='x86_64' machine='pc-i440fx-wily'>hvm</type>
-      <boot dev='hd'/>
-    </os>
-    <cpu>
-      <topology sockets='1' cores='24' threads='1'/>
-      <numa>
-        <cell id='0' cpus='0-1' memory='14680064' unit='KiB'/>
-        <cell id='1' cpus='2-3' memory='14680064' unit='KiB' memAccess='shared'/>
-        <cell id='2' cpus='4-5' memory='14680064' unit='KiB' memAccess='private'/>
-      </numa>
-    </cpu>
-    <clock offset='utc'/>
-    <on_poweroff>destroy</on_poweroff>
-    <on_reboot>restart</on_reboot>
-    <on_crash>destroy</on_crash>
-    <devices>
-      <emulator>/usr/bin/qemu-system-x86_64</emulator>
-      <memballoon model='virtio'/>
-    </devices>
-  </domain>
+<domain type='kvm' id='56'>
+  <name>instance-00000092</name>
+  <uuid>126f2720-6f8e-45ab-a886-ec9277079a67</uuid>
+  <memory unit='KiB'>14680064</memory>
+  <currentMemory unit='KiB'>14680064</currentMemory>
+  <memoryBacking>
+    <source type='file'/>
+    <access mode='shared'/>
+    <allocation mode='immediate'/>
+  </memoryBacking>
+  <vcpu placement='static'>32</vcpu>
+  <os>
+    <type arch='x86_64' machine='pc-i440fx-wily'>hvm</type>
+    <boot dev='hd'/>
+  </os>
+  <cpu>
+    <topology sockets='1' cores='24' threads='1'/>
+    <numa>
+      <cell id='0' cpus='0-1' memory='14680064' unit='KiB'/>
+      <cell id='1' cpus='2-3' memory='14680064' unit='KiB' memAccess='shared'/>
+      <cell id='2' cpus='4-5' memory='14680064' unit='KiB' memAccess='private'/>
+    </numa>
+  </cpu>
+  <clock offset='utc'/>
+  <on_poweroff>destroy</on_poweroff>
+  <on_reboot>restart</on_reboot>
+  <on_crash>destroy</on_crash>
+  <devices>
+    <emulator>/usr/bin/qemu-system-x86_64</emulator>
+    <memballoon model='virtio'/>
+  </devices>
+</domain>
index 8416a990fa4dd8e74c1bf9a18b59bc5240e51280..41c1f9bfc2e2aca12ef8b1b6a54c2f55e20f707b 100644 (file)
@@ -1,36 +1,36 @@
-  <domain type='kvm' id='56'>
-    <name>instance-00000092</name>
-    <uuid>126f2720-6f8e-45ab-a886-ec9277079a67</uuid>
-    <memory unit='KiB'>14680064</memory>
-    <currentMemory unit='KiB'>14680064</currentMemory>
-    <memoryBacking>
-      <hugepages>
-          <page size="2" unit="M"/>
-      </hugepages>
-      <source type='memfd'/>
-      <access mode='shared'/>
-      <allocation mode='immediate'/>
-    </memoryBacking>
-    <numatune>
-        <memnode cellid='0' mode='preferred' nodeset='3'/>
-    </numatune>
-    <vcpu placement='static'>8</vcpu>
-    <os>
-      <type arch='x86_64' machine='pc-i440fx-wily'>hvm</type>
-      <boot dev='hd'/>
-    </os>
-    <cpu>
-      <topology sockets='1' cores='8' threads='1'/>
-      <numa>
-        <cell id='0' cpus='0-7' memory='14680064' unit='KiB'/>
-      </numa>
-    </cpu>
-    <clock offset='utc'/>
-    <on_poweroff>destroy</on_poweroff>
-    <on_reboot>restart</on_reboot>
-    <on_crash>destroy</on_crash>
-    <devices>
-      <emulator>/usr/bin/qemu-system-x86_64</emulator>
-      <memballoon model='virtio'/>
-    </devices>
-  </domain>
+<domain type='kvm' id='56'>
+  <name>instance-00000092</name>
+  <uuid>126f2720-6f8e-45ab-a886-ec9277079a67</uuid>
+  <memory unit='KiB'>14680064</memory>
+  <currentMemory unit='KiB'>14680064</currentMemory>
+  <memoryBacking>
+    <hugepages>
+        <page size="2" unit="M"/>
+    </hugepages>
+    <source type='memfd'/>
+    <access mode='shared'/>
+    <allocation mode='immediate'/>
+  </memoryBacking>
+  <numatune>
+      <memnode cellid='0' mode='preferred' nodeset='3'/>
+  </numatune>
+  <vcpu placement='static'>8</vcpu>
+  <os>
+    <type arch='x86_64' machine='pc-i440fx-wily'>hvm</type>
+    <boot dev='hd'/>
+  </os>
+  <cpu>
+    <topology sockets='1' cores='8' threads='1'/>
+    <numa>
+      <cell id='0' cpus='0-7' memory='14680064' unit='KiB'/>
+    </numa>
+  </cpu>
+  <clock offset='utc'/>
+  <on_poweroff>destroy</on_poweroff>
+  <on_reboot>restart</on_reboot>
+  <on_crash>destroy</on_crash>
+  <devices>
+    <emulator>/usr/bin/qemu-system-x86_64</emulator>
+    <memballoon model='virtio'/>
+  </devices>
+</domain>