[libvirt] [PATCH v3 01/52] tests: Add capabilities for QEMU 4.2.0 on s390x

Jiri Denemark jdenemar at redhat.com
Tue Nov 5 13:26:59 UTC 2019


Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
Reviewed-by: Ján Tomko <jtomko at redhat.com>
---

Notes:
    Version 2:
    - new patch
    
    Version 3:
    - regenerated with the following QEMU patch applied
      "s390x/kvm: Set default cpu model for all machine classes"
    - includes domaincapsdata (previously in patch 2/31)

 tests/domaincapsdata/qemu_4.2.0.s390x.xml     |   202 +
 .../caps_4.2.0.s390x.replies                  | 22416 ++++++++++++++++
 .../qemucapabilitiesdata/caps_4.2.0.s390x.xml |  3345 +++
 3 files changed, 25963 insertions(+)
 create mode 100644 tests/domaincapsdata/qemu_4.2.0.s390x.xml
 create mode 100644 tests/qemucapabilitiesdata/caps_4.2.0.s390x.replies
 create mode 100644 tests/qemucapabilitiesdata/caps_4.2.0.s390x.xml

diff --git a/tests/domaincapsdata/qemu_4.2.0.s390x.xml b/tests/domaincapsdata/qemu_4.2.0.s390x.xml
new file mode 100644
index 0000000000..fd71df46a7
--- /dev/null
+++ b/tests/domaincapsdata/qemu_4.2.0.s390x.xml
@@ -0,0 +1,202 @@
+<domainCapabilities>
+  <path>/usr/bin/qemu-system-s390x</path>
+  <domain>kvm</domain>
+  <machine>s390-ccw-virtio-4.2</machine>
+  <arch>s390x</arch>
+  <vcpu max='248'/>
+  <iothreads supported='yes'/>
+  <os supported='yes'>
...
+</domainCapabilities>
diff --git a/tests/qemucapabilitiesdata/caps_4.2.0.s390x.replies b/tests/qemucapabilitiesdata/caps_4.2.0.s390x.replies
new file mode 100644
index 0000000000..ae0d733df3
--- /dev/null
+++ b/tests/qemucapabilitiesdata/caps_4.2.0.s390x.replies
@@ -0,0 +1,22416 @@
+{
+  "execute": "qmp_capabilities",
+  "id": "libvirt-1"
+}
+
+{
+  "return": {
+  },
+  "id": "libvirt-1"
+}
...
diff --git a/tests/qemucapabilitiesdata/caps_4.2.0.s390x.xml b/tests/qemucapabilitiesdata/caps_4.2.0.s390x.xml
new file mode 100644
index 0000000000..ebc5b48999
--- /dev/null
+++ b/tests/qemucapabilitiesdata/caps_4.2.0.s390x.xml
@@ -0,0 +1,3345 @@
+<qemuCaps>
+  <qemuctime>0</qemuctime>
+  <selfctime>0</selfctime>
+  <selfvers>0</selfvers>
+  <flag name='kvm'/>
...
+</qemuCaps>
-- 
2.23.0




More information about the libvir-list mailing list