[PATCH] qemucapabilitiestest: Add test data for the qemu-6.2 development cycle

Peter Krempa posted 1 patch 2 weeks ago
Failed in applying to current master (apply log)
.../domaincapsdata/qemu_6.2.0-q35.x86_64.xml  |   220 +
.../domaincapsdata/qemu_6.2.0-tcg.x86_64.xml  |   226 +
tests/domaincapsdata/qemu_6.2.0.x86_64.xml    |   220 +
.../caps_6.2.0.x86_64.replies                 | 34119 ++++++++++++++++
.../caps_6.2.0.x86_64.xml                     |  3716 ++
5 files changed, 38501 insertions(+)
create mode 100644 tests/domaincapsdata/qemu_6.2.0-q35.x86_64.xml
create mode 100644 tests/domaincapsdata/qemu_6.2.0-tcg.x86_64.xml
create mode 100644 tests/domaincapsdata/qemu_6.2.0.x86_64.xml
create mode 100644 tests/qemucapabilitiesdata/caps_6.2.0.x86_64.replies
create mode 100644 tests/qemucapabilitiesdata/caps_6.2.0.x86_64.xml

[PATCH] qemucapabilitiestest: Add test data for the qemu-6.2 development cycle

Posted by Peter Krempa 2 weeks ago
The data is based on commit v6.1.0-1296-g14f12119aa

Notable changes:

- New machine types for the 6.2 cycle were added
- MEM_UNPLUG_ERROR event was deprecated and replaced by
  DEVICE_UNPLUG_GUEST_ERROR
- Intel SGX related commands and devices added
- 'copy-before-write' blockdev filter was added
- 'memory-backend-epc' was added
- new cpu flags

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
---
 .../domaincapsdata/qemu_6.2.0-q35.x86_64.xml  |   220 +
 .../domaincapsdata/qemu_6.2.0-tcg.x86_64.xml  |   226 +
 tests/domaincapsdata/qemu_6.2.0.x86_64.xml    |   220 +
 .../caps_6.2.0.x86_64.replies                 | 34119 ++++++++++++++++
 .../caps_6.2.0.x86_64.xml                     |  3716 ++
 5 files changed, 38501 insertions(+)
 create mode 100644 tests/domaincapsdata/qemu_6.2.0-q35.x86_64.xml
 create mode 100644 tests/domaincapsdata/qemu_6.2.0-tcg.x86_64.xml
 create mode 100644 tests/domaincapsdata/qemu_6.2.0.x86_64.xml
 create mode 100644 tests/qemucapabilitiesdata/caps_6.2.0.x86_64.replies
 create mode 100644 tests/qemucapabilitiesdata/caps_6.2.0.x86_64.xml


[...]

diff --git a/tests/qemucapabilitiesdata/caps_6.2.0.x86_64.replies b/tests/qemucapabilitiesdata/caps_6.2.0.x86_64.replies
new file mode 100644
index 0000000000..4e332ba861
--- /dev/null
+++ b/tests/qemucapabilitiesdata/caps_6.2.0.x86_64.replies
@@ -0,0 +1,34119 @@
+{
+  "execute": "qmp_capabilities",
+  "id": "libvirt-1"
+}
+
+{
+  "return": {
+  },
+  "id": "libvirt-1"
+}
+
+{
+  "execute": "query-version",
+  "id": "libvirt-2"
+}
+
+{
+  "return": {
+    "qemu": {
+      "micro": 50,
+      "minor": 1,
+      "major": 6
+    },
+    "package": "v6.1.0-1296-g14f12119aa"
+  },
+  "id": "libvirt-2"
+}

You can fetch the full patch at

 git fetch https://gitlab.com/pipo.sk/libvirt.git caps-6.2

Re: [PATCH] qemucapabilitiestest: Add test data for the qemu-6.2 development cycle

Posted by Michal Prívozník 2 weeks ago
On 10/8/21 9:50 AM, Peter Krempa wrote:
> The data is based on commit v6.1.0-1296-g14f12119aa
> 
> Notable changes:
> 
> - New machine types for the 6.2 cycle were added
> - MEM_UNPLUG_ERROR event was deprecated and replaced by
>   DEVICE_UNPLUG_GUEST_ERROR
> - Intel SGX related commands and devices added
> - 'copy-before-write' blockdev filter was added
> - 'memory-backend-epc' was added
> - new cpu flags
> 
> Signed-off-by: Peter Krempa <pkrempa@redhat.com>
> ---
>  .../domaincapsdata/qemu_6.2.0-q35.x86_64.xml  |   220 +
>  .../domaincapsdata/qemu_6.2.0-tcg.x86_64.xml  |   226 +
>  tests/domaincapsdata/qemu_6.2.0.x86_64.xml    |   220 +
>  .../caps_6.2.0.x86_64.replies                 | 34119 ++++++++++++++++
>  .../caps_6.2.0.x86_64.xml                     |  3716 ++
>  5 files changed, 38501 insertions(+)
>  create mode 100644 tests/domaincapsdata/qemu_6.2.0-q35.x86_64.xml
>  create mode 100644 tests/domaincapsdata/qemu_6.2.0-tcg.x86_64.xml
>  create mode 100644 tests/domaincapsdata/qemu_6.2.0.x86_64.xml
>  create mode 100644 tests/qemucapabilitiesdata/caps_6.2.0.x86_64.replies
>  create mode 100644 tests/qemucapabilitiesdata/caps_6.2.0.x86_64.xml

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>

Michal