[libvirt] [PATCH 17/34] tests: qemuxml2xml: Order pinning information numerically

Peter Krempa pkrempa at redhat.com
Thu Jan 14 16:27:05 UTC 2016


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     | 2 +-
 tests/qemuxml2xmloutdata/qemuxml2xmlout-cputune-iothreads.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/qemuxml2argvdata/qemuxml2argv-cputune-iothreads.xml b/tests/qemuxml2argvdata/qemuxml2argv-cputune-iothreads.xml
index c8cc025..00d8bf0 100644
--- a/tests/qemuxml2argvdata/qemuxml2argv-cputune-iothreads.xml
+++ b/tests/qemuxml2argvdata/qemuxml2argv-cputune-iothreads.xml
@@ -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>
diff --git a/tests/qemuxml2xmloutdata/qemuxml2xmlout-cputune-iothreads.xml b/tests/qemuxml2xmloutdata/qemuxml2xmlout-cputune-iothreads.xml
index dc65564..435d0ae 100644
--- a/tests/qemuxml2xmloutdata/qemuxml2xmlout-cputune-iothreads.xml
+++ b/tests/qemuxml2xmloutdata/qemuxml2xmlout-cputune-iothreads.xml
@@ -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'/>
-- 
2.6.2




More information about the libvir-list mailing list