[libvirt] [PATCH 01/11] tests: Update capabilities for QEMU 4.2.0 on aarch64

Andrea Bolognani abologna at redhat.com
Wed Nov 6 15:47:01 UTC 2019


Unfortunately this results in a lot of churn because of the eigth
hundred and change QEMU commits since the file was last touched,
but the only part we actually care about is the fact that the
query-cpu-model-expansion QMP command is now available on aarch64.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
Tested-by: Andrew Jones <drjones at redhat.com>
---
This patch is heavily snipped.

 .../qemu_4.2.0-virt.aarch64.xml               |    2 +-
 tests/domaincapsdata/qemu_4.2.0.aarch64.xml   |    2 +-
 .../caps_4.2.0.aarch64.replies                | 3394 ++++++++++-------
 .../caps_4.2.0.aarch64.xml                    |    9 +-
 4 files changed, 2001 insertions(+), 1406 deletions(-)

diff --git a/tests/qemucapabilitiesdata/caps_4.2.0.aarch64.replies b/tests/qemucapabilitiesdata/caps_4.2.0.aarch64.replies
index 08987b91d3..a51a3a42bd 100644
--- a/tests/qemucapabilitiesdata/caps_4.2.0.aarch64.replies
+++ b/tests/qemucapabilitiesdata/caps_4.2.0.aarch64.replies
@@ -21,7 +21,7 @@
       "minor": 1,
       "major": 4
     },
-    "package": "v4.1.0-1378-g98b2e3c9ab"
+    "package": "v4.1.0-2221-g36609b4fa3"
   },
   "id": "libvirt-2"
 }
@@ -20476,6 +21030,25 @@
   "id": "libvirt-40"
 }
 
+{
+  "execute": "query-cpu-model-expansion",
+  "arguments": {
+    "type": "static",
+    "model": {
+      "name": "host"
+    }
+  },
+  "id": "libvirt-41"
+}
+
+{
+  "id": "libvirt-41",
+  "error": {
+    "class": "GenericError",
+    "desc": "The requested expansion type is not supported"
+  }
+}
+
 {
   "execute": "qmp_capabilities",
   "id": "libvirt-1"
@@ -20682,3 +21255,22 @@
   ],
   "id": "libvirt-2"
 }
+
+{
+  "execute": "query-cpu-model-expansion",
+  "arguments": {
+    "type": "static",
+    "model": {
+      "name": "max"
+    }
+  },
+  "id": "libvirt-3"
+}
+
+{
+  "id": "libvirt-3",
+  "error": {
+    "class": "GenericError",
+    "desc": "The requested expansion type is not supported"
+  }
+}
diff --git a/tests/qemucapabilitiesdata/caps_4.2.0.aarch64.xml b/tests/qemucapabilitiesdata/caps_4.2.0.aarch64.xml
index 7b13da4dca..15a6050dd3 100644
--- a/tests/qemucapabilitiesdata/caps_4.2.0.aarch64.xml
+++ b/tests/qemucapabilitiesdata/caps_4.2.0.aarch64.xml
@@ -109,6 +110,7 @@
   <flag name='gluster.debug_level'/>
   <flag name='vhost-scsi'/>
   <flag name='drive-iotune-group'/>
+  <flag name='query-cpu-model-expansion'/>
   <flag name='virtio-net.host_mtu'/>
   <flag name='pcie-root-port'/>
   <flag name='query-cpu-definitions'/>
@@ -170,7 +172,7 @@
   <version>4001050</version>
   <kvmVersion>0</kvmVersion>
   <microcodeVersion>61700242</microcodeVersion>
-  <package>v4.1.0-1378-g98b2e3c9ab</package>
+  <package>v4.1.0-2221-g36609b4fa3</package>
   <arch>aarch64</arch>
   <cpu type='kvm' name='pxa262'/>
   <cpu type='kvm' name='pxa270-a0'/>
-- 
2.21.0




More information about the libvir-list mailing list