]> xenbits.xensource.com Git - libvirt.git/commitdiff
tests: qemuxml2xml: Order pinning information numerically
authorPeter Krempa <pkrempa@redhat.com>
Mon, 4 Jan 2016 16:00:51 +0000 (17:00 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 25 Jan 2016 16:53:07 +0000 (17:53 +0100)
A future patch will refactor the storage of the pinning information in a
way where the ordering will be lost. Order them numerically to avoid
changing the tests later.

tests/qemuxml2argvdata/qemuxml2argv-cputune-iothreads.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-cputune-iothreads.xml

index c8cc02516a4483a8e1869dc50dfac183bac8c383..00d8bf0120da2483a92d932a95a6439dcb1830a2 100644 (file)
@@ -10,8 +10,8 @@
     <iothreadpin iothread='2' cpuset='3'/>
     <iothreadpin iothread='1' cpuset='2'/>
     <emulatorpin cpuset='1'/>
-    <vcpupin vcpu='1' cpuset='1'/>
     <vcpupin vcpu='0' cpuset='0'/>
+    <vcpupin vcpu='1' cpuset='1'/>
     <quota>-1</quota>
     <period>1000000</period>
     <shares>2048</shares>
index dc65564891575658fd6225c0f498d1d860db9b68..435d0ae702e0af2ce90953da23707072a21f2640 100644 (file)
@@ -9,8 +9,8 @@
     <shares>2048</shares>
     <period>1000000</period>
     <quota>-1</quota>
-    <vcpupin vcpu='1' cpuset='1'/>
     <vcpupin vcpu='0' cpuset='0'/>
+    <vcpupin vcpu='1' cpuset='1'/>
     <emulatorpin cpuset='1'/>
     <iothreadpin iothread='1' cpuset='2'/>
     <iothreadpin iothread='2' cpuset='3'/>