[PATCH 1/7] tests: Add replies for QEMU 3.0.0 on ppc64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 .../caps_3.0.0.ppc64.replies                  | 23673 ++++++++++++++++
 .../qemucapabilitiesdata/caps_3.0.0.ppc64.xml |  1074 +
 tests/qemucapabilitiestest.c                  |     1 +
 3 files changed, 24748 insertions(+)
 create mode 100644 tests/qemucapabilitiesdata/caps_3.0.0.ppc64.replies
 create mode 100644 tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml

diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.replies b/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.replies
new file mode 100644
index 0000000000..6aa99733ee
--- /dev/null
+++ b/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.replies
@@ -0,0 +1,23673 @@
+{
+  "execute": "qmp_capabilities",
+  "id": "libvirt-1"
+}
+
+{
+  "return": {
+  },
+  "id": "libvirt-1"
+}
+
+{
+  "execute": "query-version",
+  "id": "libvirt-2"
+}
+
+{
+  "return": {
+    "qemu": {
+      "micro": 50,
+      "minor": 12,
+      "major": 2
+    },
+    "package": "v2.12.0-1689-g518d23a"
+  },
+  "id": "libvirt-2"
+}
[...]
diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml b/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml
new file mode 100644
index 0000000000..c98db19815
--- /dev/null
+++ b/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml
@@ -0,0 +1,1074 @@
+<qemuCaps>
+  <qemuctime>0</qemuctime>
+  <selfctime>0</selfctime>
+  <selfvers>0</selfvers>
+  <usedQMP/>
[...]
+</qemuCaps>
diff --git a/tests/qemucapabilitiestest.c b/tests/qemucapabilitiestest.c
index 633389f263..43f2bcfbc8 100644
--- a/tests/qemucapabilitiestest.c
+++ b/tests/qemucapabilitiestest.c
@@ -182,6 +182,7 @@ mymain(void)
     DO_TEST("ppc64", "caps_2.9.0");
     DO_TEST("ppc64", "caps_2.10.0");
     DO_TEST("ppc64", "caps_2.12.0");
+    DO_TEST("ppc64", "caps_3.0.0");
     DO_TEST("s390x", "caps_2.7.0");
     DO_TEST("s390x", "caps_2.8.0");
     DO_TEST("s390x", "caps_2.9.0");
-- 
2.17.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux