This capability detects the availability of the boot-bypass
property of the virtio-iommu-pci device.
This property was only introduced in QEMU 7.0 but, since the
device has been around for much longer, we end up querying its
properties for several more releases. As I don't have convenient
access to the 10+ binaries necessary to regenerate the replies,
I just put some fake data in there.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
Note that, since I'm currently affected by [1], I was unable to
refresh the replies for QEMU 7.0.0 on x86_64 to bring them on par
with the aarch64 replies, so this effectively creates a
frankenreplies situation. I think it's okay to do so in this case,
as it will go away on its own once we refresh capabilities after
QEMU 7.0.0 has been released.
[1]
https://lists.gnu.org/archive/html/qemu-devel/2022-03/msg04312.html
src/qemu/qemu_capabilities.c | 8 +
src/qemu/qemu_capabilities.h | 1 +
.../caps_5.0.0.aarch64.replies | 71 +++--
.../caps_5.0.0.ppc64.replies | 59 ++--
.../caps_5.0.0.riscv64.replies | 55 ++--
.../caps_5.0.0.x86_64.replies | 71 +++--
.../caps_5.1.0.x86_64.replies | 71 +++--
.../caps_5.2.0.aarch64.replies | 71 +++--
.../caps_5.2.0.ppc64.replies | 59 ++--
.../caps_5.2.0.riscv64.replies | 55 ++--
.../caps_5.2.0.s390x.replies | 59 ++--
.../caps_5.2.0.x86_64.replies | 71 +++--
.../caps_6.0.0.aarch64.replies | 71 +++--
.../caps_6.0.0.s390x.replies | 59 ++--
.../caps_6.0.0.x86_64.replies | 71 +++--
.../caps_6.1.0.x86_64.replies | 71 +++--
.../caps_6.2.0.aarch64.replies | 71 +++--
.../caps_6.2.0.ppc64.replies | 59 ++--
.../caps_6.2.0.x86_64.replies | 71 +++--
.../caps_7.0.0.aarch64.replies | 275 ++++++++++++++++--
.../caps_7.0.0.aarch64.xml | 1 +
.../caps_7.0.0.ppc64.replies | 59 ++--
.../caps_7.0.0.x86_64.replies | 275 ++++++++++++++++--
.../caps_7.0.0.x86_64.xml | 1 +
24 files changed, 1267 insertions(+), 468 deletions(-)
diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
index 8802084a79..e161ebf8ba 100644
--- a/src/qemu/qemu_capabilities.c
+++ b/src/qemu/qemu_capabilities.c
@@ -669,6 +669,7 @@ VIR_ENUM_IMPL(virQEMUCaps,
/* 425 */
"blockdev.nbd.tls-hostname", /*
QEMU_CAPS_BLOCKDEV_NBD_TLS_HOSTNAME */
"virtio-iommu-pci", /* QEMU_CAPS_DEVICE_VIRTIO_IOMMU_PCI */
+ "virtio-iommu.boot-bypass", /* QEMU_CAPS_VIRTIO_IOMMU_BOOT_BYPASS
*/
);
@@ -1590,6 +1591,10 @@ static struct virQEMUCapsDevicePropsFlags
virQEMUCapsDevicePropsVirtioMemPCI[] =
{ "prealloc", QEMU_CAPS_DEVICE_VIRTIO_MEM_PCI_PREALLOC, NULL },
};
+static struct virQEMUCapsDevicePropsFlags virQEMUCapsDevicePropsVirtioIOMMU[] = {
+ { "boot-bypass", QEMU_CAPS_VIRTIO_IOMMU_BOOT_BYPASS, NULL },
+};
+
/* see documentation for virQEMUQAPISchemaPathGet for the query format */
static struct virQEMUCapsStringFlags virQEMUCapsQMPSchemaQueries[] = {
{ "block-commit/arg-type/*top", QEMU_CAPS_ACTIVE_COMMIT },
@@ -1756,6 +1761,9 @@ static virQEMUCapsDeviceTypeProps virQEMUCapsDeviceProps[] = {
{ "virtio-mem-pci", virQEMUCapsDevicePropsVirtioMemPCI,
G_N_ELEMENTS(virQEMUCapsDevicePropsVirtioMemPCI),
QEMU_CAPS_DEVICE_VIRTIO_MEM_PCI },
+ { "virtio-iommu-pci", virQEMUCapsDevicePropsVirtioIOMMU,
+ G_N_ELEMENTS(virQEMUCapsDevicePropsVirtioIOMMU),
+ QEMU_CAPS_DEVICE_VIRTIO_IOMMU_PCI },
};
static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsMemoryBackendFile[] = {
diff --git a/src/qemu/qemu_capabilities.h b/src/qemu/qemu_capabilities.h
index 3813e8fbc0..cb2b7a306e 100644
--- a/src/qemu/qemu_capabilities.h
+++ b/src/qemu/qemu_capabilities.h
@@ -644,6 +644,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check
*/
/* 425 */
QEMU_CAPS_BLOCKDEV_NBD_TLS_HOSTNAME, /* tls hostname can be overriden for NBD clients
*/
QEMU_CAPS_DEVICE_VIRTIO_IOMMU_PCI, /* -device virtio-iommu-pci */
+ QEMU_CAPS_VIRTIO_IOMMU_BOOT_BYPASS, /* virtio-iommu.boot-bypass */
QEMU_CAPS_LAST /* this must always be the last item */
} virQEMUCapsFlags;
diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.aarch64.replies
b/tests/qemucapabilitiesdata/caps_5.0.0.aarch64.replies
index 574c14d4ce..29bde0357f 100644
--- a/tests/qemucapabilitiesdata/caps_5.0.0.aarch64.replies
+++ b/tests/qemucapabilitiesdata/caps_5.0.0.aarch64.replies
@@ -20244,12 +20244,31 @@
"id": "libvirt-32"
}
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "virtio-iommu-pci"
+ },
+ "id": "libvirt-33"
+}
+
+{
+ "return": [
+ {
+ "name": "fake-data",
+ "description": "pretend there's real data here",
+ "type": "str"
+ }
+ ],
+ "id": "libvirt-33"
+}
+
{
"execute": "qom-list-properties",
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
@@ -20319,7 +20338,7 @@
"type": "bool"
}
],
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
@@ -20327,7 +20346,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -20396,7 +20415,7 @@
"type": "bool"
}
],
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -20404,7 +20423,7 @@
"arguments": {
"typename": "max-arm-cpu"
},
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -20608,12 +20627,12 @@
"type": "bool"
}
],
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
"execute": "query-machines",
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -21201,7 +21220,7 @@
"deprecated": false
}
],
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -21209,7 +21228,7 @@
"arguments": {
"typename": "virt-5.0-machine"
},
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -21357,7 +21376,7 @@
"type": "child<cfi.pflash01>"
}
],
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -21365,7 +21384,7 @@
"arguments": {
"typename": "none-machine"
},
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -21455,12 +21474,12 @@
"type": "string"
}
],
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -21656,24 +21675,24 @@
"static": false
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
"return": [
"tpm-tis"
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
@@ -21681,12 +21700,12 @@
"passthrough",
"emulator"
],
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -22844,12 +22863,12 @@
"option": "drive"
}
],
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
@@ -22927,12 +22946,12 @@
"capability": "validate-uuid"
}
],
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
"execute": "query-gic-capabilities",
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
@@ -22948,7 +22967,7 @@
"kernel": false
}
],
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
@@ -22959,7 +22978,7 @@
"name": "host"
}
},
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
@@ -22990,7 +23009,7 @@
}
}
},
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.replies
b/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.replies
index b7950ec59b..ceee1fb025 100644
--- a/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.replies
+++ b/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.replies
@@ -20182,12 +20182,31 @@
"id": "libvirt-34"
}
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "virtio-iommu-pci"
+ },
+ "id": "libvirt-35"
+}
+
+{
+ "return": [
+ {
+ "name": "fake-data",
+ "description": "pretend there's real data here",
+ "type": "str"
+ }
+ ],
+ "id": "libvirt-35"
+}
+
{
"execute": "qom-list-properties",
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -20257,7 +20276,7 @@
"type": "bool"
}
],
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -20265,7 +20284,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -20334,12 +20353,12 @@
"type": "bool"
}
],
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
"execute": "query-machines",
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -20609,7 +20628,7 @@
"deprecated": false
}
],
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -20617,7 +20636,7 @@
"arguments": {
"typename": "pseries-5.0-machine"
},
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -20826,7 +20845,7 @@
"type": "string"
}
],
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -20834,7 +20853,7 @@
"arguments": {
"typename": "none-machine"
},
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -20924,12 +20943,12 @@
"type": "string"
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -23135,24 +23154,24 @@
"static": false
}
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"return": [
"tpm-spapr"
],
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -23160,12 +23179,12 @@
"passthrough",
"emulator"
],
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
@@ -24302,12 +24321,12 @@
"option": "drive"
}
],
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
@@ -24385,7 +24404,7 @@
"capability": "validate-uuid"
}
],
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.riscv64.replies
b/tests/qemucapabilitiesdata/caps_5.0.0.riscv64.replies
index a4dfe42b89..df993441a2 100644
--- a/tests/qemucapabilitiesdata/caps_5.0.0.riscv64.replies
+++ b/tests/qemucapabilitiesdata/caps_5.0.0.riscv64.replies
@@ -18379,12 +18379,31 @@
"id": "libvirt-33"
}
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "virtio-iommu-pci"
+ },
+ "id": "libvirt-34"
+}
+
+{
+ "return": [
+ {
+ "name": "fake-data",
+ "description": "pretend there's real data here",
+ "type": "str"
+ }
+ ],
+ "id": "libvirt-34"
+}
+
{
"execute": "qom-list-properties",
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -18454,7 +18473,7 @@
"type": "bool"
}
],
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -18462,7 +18481,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -18531,12 +18550,12 @@
"type": "int"
}
],
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
"execute": "query-machines",
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -18594,7 +18613,7 @@
"deprecated": false
}
],
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -18602,7 +18621,7 @@
"arguments": {
"typename": "virt-machine"
},
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -18692,7 +18711,7 @@
"type": "string"
}
],
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -18700,7 +18719,7 @@
"arguments": {
"typename": "none-machine"
},
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -18790,34 +18809,34 @@
"type": "string"
}
],
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
"return": [
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
"return": [
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
@@ -20083,12 +20102,12 @@
"option": "drive"
}
],
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -20166,5 +20185,5 @@
"capability": "validate-uuid"
}
],
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.x86_64.replies
b/tests/qemucapabilitiesdata/caps_5.0.0.x86_64.replies
index ad6ee05ba6..bd508473a2 100644
--- a/tests/qemucapabilitiesdata/caps_5.0.0.x86_64.replies
+++ b/tests/qemucapabilitiesdata/caps_5.0.0.x86_64.replies
@@ -20078,12 +20078,31 @@
"id": "libvirt-37"
}
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "virtio-iommu-pci"
+ },
+ "id": "libvirt-38"
+}
+
+{
+ "return": [
+ {
+ "name": "fake-data",
+ "description": "pretend there's real data here",
+ "type": "str"
+ }
+ ],
+ "id": "libvirt-38"
+}
+
{
"execute": "qom-list-properties",
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -20153,7 +20172,7 @@
"type": "bool"
}
],
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -20161,7 +20180,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -20230,7 +20249,7 @@
"type": "int"
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -20238,7 +20257,7 @@
"arguments": {
"typename": "max-x86_64-cpu"
},
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -21804,12 +21823,12 @@
"type": "bool"
}
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
"execute": "query-machines",
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
@@ -22185,7 +22204,7 @@
"deprecated": false
}
],
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
@@ -22193,7 +22212,7 @@
"arguments": {
"typename": "none-machine"
},
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -22283,12 +22302,12 @@
"type": "string"
}
],
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
@@ -23833,12 +23852,12 @@
"migration-safe": true
}
],
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
@@ -23846,12 +23865,12 @@
"tpm-crb",
"tpm-tis"
],
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
@@ -23859,12 +23878,12 @@
"passthrough",
"emulator"
],
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
@@ -25140,12 +25159,12 @@
"option": "drive"
}
],
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
@@ -25223,16 +25242,16 @@
"capability": "validate-uuid"
}
],
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
"execute": "query-sev-capabilities",
- "id": "libvirt-48"
+ "id": "libvirt-49"
}
{
- "id": "libvirt-48",
+ "id": "libvirt-49",
"error": {
"class": "GenericError",
"desc": "SEV feature is not available"
@@ -25247,7 +25266,7 @@
"name": "host"
}
},
- "id": "libvirt-49"
+ "id": "libvirt-50"
}
{
@@ -25550,7 +25569,7 @@
}
}
},
- "id": "libvirt-49"
+ "id": "libvirt-50"
}
{
@@ -25564,7 +25583,7 @@
}
}
},
- "id": "libvirt-50"
+ "id": "libvirt-51"
}
{
@@ -25867,7 +25886,7 @@
}
}
},
- "id": "libvirt-50"
+ "id": "libvirt-51"
}
{
diff --git a/tests/qemucapabilitiesdata/caps_5.1.0.x86_64.replies
b/tests/qemucapabilitiesdata/caps_5.1.0.x86_64.replies
index cfb28e77bd..900acb1ed4 100644
--- a/tests/qemucapabilitiesdata/caps_5.1.0.x86_64.replies
+++ b/tests/qemucapabilitiesdata/caps_5.1.0.x86_64.replies
@@ -20828,12 +20828,31 @@
"id": "libvirt-38"
}
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "virtio-iommu-pci"
+ },
+ "id": "libvirt-39"
+}
+
+{
+ "return": [
+ {
+ "name": "fake-data",
+ "description": "pretend there's real data here",
+ "type": "str"
+ }
+ ],
+ "id": "libvirt-39"
+}
+
{
"execute": "qom-list-properties",
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -20903,7 +20922,7 @@
"type": "bool"
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -20911,7 +20930,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -20980,7 +20999,7 @@
"type": "int"
}
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -20988,7 +21007,7 @@
"arguments": {
"typename": "max-x86_64-cpu"
},
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
@@ -22574,12 +22593,12 @@
"type": "bool"
}
],
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"execute": "query-machines",
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -22971,7 +22990,7 @@
"deprecated": false
}
],
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -22979,7 +22998,7 @@
"arguments": {
"typename": "none-machine"
},
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
@@ -23069,12 +23088,12 @@
"type": "string"
}
],
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
@@ -24776,12 +24795,12 @@
"migration-safe": true
}
],
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
@@ -24789,12 +24808,12 @@
"tpm-crb",
"tpm-tis"
],
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
@@ -24802,12 +24821,12 @@
"passthrough",
"emulator"
],
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
@@ -26102,12 +26121,12 @@
"option": "drive"
}
],
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-48"
+ "id": "libvirt-49"
}
{
@@ -26185,16 +26204,16 @@
"capability": "validate-uuid"
}
],
- "id": "libvirt-48"
+ "id": "libvirt-49"
}
{
"execute": "query-sev-capabilities",
- "id": "libvirt-49"
+ "id": "libvirt-50"
}
{
- "id": "libvirt-49",
+ "id": "libvirt-50",
"error": {
"class": "GenericError",
"desc": "SEV is not enabled in KVM"
@@ -26209,7 +26228,7 @@
"name": "host"
}
},
- "id": "libvirt-50"
+ "id": "libvirt-51"
}
{
@@ -26517,7 +26536,7 @@
}
}
},
- "id": "libvirt-50"
+ "id": "libvirt-51"
}
{
@@ -26531,7 +26550,7 @@
}
}
},
- "id": "libvirt-51"
+ "id": "libvirt-52"
}
{
@@ -26839,7 +26858,7 @@
}
}
},
- "id": "libvirt-51"
+ "id": "libvirt-52"
}
{
diff --git a/tests/qemucapabilitiesdata/caps_5.2.0.aarch64.replies
b/tests/qemucapabilitiesdata/caps_5.2.0.aarch64.replies
index 76de04bb85..0203bbd399 100644
--- a/tests/qemucapabilitiesdata/caps_5.2.0.aarch64.replies
+++ b/tests/qemucapabilitiesdata/caps_5.2.0.aarch64.replies
@@ -21517,12 +21517,31 @@
"id": "libvirt-33"
}
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "virtio-iommu-pci"
+ },
+ "id": "libvirt-34"
+}
+
+{
+ "return": [
+ {
+ "name": "fake-data",
+ "description": "pretend there's real data here",
+ "type": "str"
+ }
+ ],
+ "id": "libvirt-34"
+}
+
{
"execute": "qom-list-properties",
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -21592,7 +21611,7 @@
"type": "bool"
}
],
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -21600,7 +21619,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -21669,7 +21688,7 @@
"type": "bool"
}
],
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -21677,7 +21696,7 @@
"arguments": {
"typename": "max-arm-cpu"
},
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -21886,12 +21905,12 @@
"type": "bool"
}
],
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
"execute": "query-machines",
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -22628,7 +22647,7 @@
"deprecated": false
}
],
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -22636,7 +22655,7 @@
"arguments": {
"typename": "virt-5.2-machine"
},
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -22799,7 +22818,7 @@
"type": "child<cfi.pflash01>"
}
],
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -22807,7 +22826,7 @@
"arguments": {
"typename": "none-machine"
},
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -22892,12 +22911,12 @@
"type": "string"
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -23131,24 +23150,24 @@
"deprecated": false
}
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"return": [
"tpm-tis"
],
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -23156,12 +23175,12 @@
"passthrough",
"emulator"
],
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
@@ -24338,12 +24357,12 @@
"option": "drive"
}
],
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
@@ -24421,12 +24440,12 @@
"capability": "validate-uuid"
}
],
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
"execute": "query-gic-capabilities",
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
@@ -24442,7 +24461,7 @@
"kernel": false
}
],
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
@@ -24453,7 +24472,7 @@
"name": "host"
}
},
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
@@ -24485,7 +24504,7 @@
}
}
},
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
diff --git a/tests/qemucapabilitiesdata/caps_5.2.0.ppc64.replies
b/tests/qemucapabilitiesdata/caps_5.2.0.ppc64.replies
index 0adb594192..86ea403662 100644
--- a/tests/qemucapabilitiesdata/caps_5.2.0.ppc64.replies
+++ b/tests/qemucapabilitiesdata/caps_5.2.0.ppc64.replies
@@ -21263,12 +21263,31 @@
"id": "libvirt-34"
}
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "virtio-iommu-pci"
+ },
+ "id": "libvirt-35"
+}
+
+{
+ "return": [
+ {
+ "name": "fake-data",
+ "description": "pretend there's real data here",
+ "type": "str"
+ }
+ ],
+ "id": "libvirt-35"
+}
+
{
"execute": "qom-list-properties",
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -21338,7 +21357,7 @@
"type": "bool"
}
],
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -21346,7 +21365,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -21415,12 +21434,12 @@
"type": "bool"
}
],
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
"execute": "query-machines",
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -21740,7 +21759,7 @@
"default-ram-id": "mpc8544ds.ram"
}
],
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -21748,7 +21767,7 @@
"arguments": {
"typename": "pseries-5.2-machine"
},
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -21952,7 +21971,7 @@
"type": "string"
}
],
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -21960,7 +21979,7 @@
"arguments": {
"typename": "none-machine"
},
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -22045,12 +22064,12 @@
"type": "string"
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -24696,24 +24715,24 @@
"deprecated": false
}
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"return": [
"tpm-spapr"
],
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -24721,12 +24740,12 @@
"passthrough",
"emulator"
],
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
@@ -25882,12 +25901,12 @@
"option": "drive"
}
],
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
@@ -25965,7 +25984,7 @@
"capability": "validate-uuid"
}
],
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
diff --git a/tests/qemucapabilitiesdata/caps_5.2.0.riscv64.replies
b/tests/qemucapabilitiesdata/caps_5.2.0.riscv64.replies
index 627afa6d12..4931b4ff1c 100644
--- a/tests/qemucapabilitiesdata/caps_5.2.0.riscv64.replies
+++ b/tests/qemucapabilitiesdata/caps_5.2.0.riscv64.replies
@@ -19435,12 +19435,31 @@
"id": "libvirt-33"
}
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "virtio-iommu-pci"
+ },
+ "id": "libvirt-34"
+}
+
+{
+ "return": [
+ {
+ "name": "fake-data",
+ "description": "pretend there's real data here",
+ "type": "str"
+ }
+ ],
+ "id": "libvirt-34"
+}
+
{
"execute": "qom-list-properties",
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -19510,7 +19529,7 @@
"type": "bool"
}
],
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -19518,7 +19537,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -19587,12 +19606,12 @@
"type": "int"
}
],
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
"execute": "query-machines",
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -19646,7 +19665,7 @@
"deprecated": false
}
],
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -19654,7 +19673,7 @@
"arguments": {
"typename": "virt-machine"
},
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -19744,7 +19763,7 @@
"type": "bool"
}
],
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -19752,7 +19771,7 @@
"arguments": {
"typename": "none-machine"
},
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -19837,34 +19856,34 @@
"type": "string"
}
],
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
"return": [
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
"return": [
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
@@ -21149,12 +21168,12 @@
"option": "drive"
}
],
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -21232,5 +21251,5 @@
"capability": "validate-uuid"
}
],
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
diff --git a/tests/qemucapabilitiesdata/caps_5.2.0.s390x.replies
b/tests/qemucapabilitiesdata/caps_5.2.0.s390x.replies
index cdca3b9169..ab1c2034af 100644
--- a/tests/qemucapabilitiesdata/caps_5.2.0.s390x.replies
+++ b/tests/qemucapabilitiesdata/caps_5.2.0.s390x.replies
@@ -19451,12 +19451,31 @@
"id": "libvirt-31"
}
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "virtio-iommu-pci"
+ },
+ "id": "libvirt-32"
+}
+
+{
+ "return": [
+ {
+ "name": "fake-data",
+ "description": "pretend there's real data here",
+ "type": "str"
+ }
+ ],
+ "id": "libvirt-32"
+}
+
{
"execute": "qom-list-properties",
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-32"
+ "id": "libvirt-33"
}
{
@@ -19526,7 +19545,7 @@
"type": "bool"
}
],
- "id": "libvirt-32"
+ "id": "libvirt-33"
}
{
@@ -19534,7 +19553,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
@@ -19603,12 +19622,12 @@
"type": "int"
}
],
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
"execute": "query-machines",
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -19777,7 +19796,7 @@
"default-ram-id": "s390.ram"
}
],
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -19785,7 +19804,7 @@
"arguments": {
"typename": "none-machine"
},
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -19870,12 +19889,12 @@
"type": "string"
}
],
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -20556,34 +20575,34 @@
"deprecated": false
}
],
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
"return": [
],
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
"return": [
],
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -21739,12 +21758,12 @@
"option": "drive"
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -21822,7 +21841,7 @@
"capability": "validate-uuid"
}
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -21833,7 +21852,7 @@
"name": "host"
}
},
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
@@ -21889,7 +21908,7 @@
}
}
},
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
diff --git a/tests/qemucapabilitiesdata/caps_5.2.0.x86_64.replies
b/tests/qemucapabilitiesdata/caps_5.2.0.x86_64.replies
index 22a1087e23..3ea7d87aec 100644
--- a/tests/qemucapabilitiesdata/caps_5.2.0.x86_64.replies
+++ b/tests/qemucapabilitiesdata/caps_5.2.0.x86_64.replies
@@ -21428,12 +21428,31 @@
"id": "libvirt-38"
}
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "virtio-iommu-pci"
+ },
+ "id": "libvirt-39"
+}
+
+{
+ "return": [
+ {
+ "name": "fake-data",
+ "description": "pretend there's real data here",
+ "type": "str"
+ }
+ ],
+ "id": "libvirt-39"
+}
+
{
"execute": "qom-list-properties",
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -21503,7 +21522,7 @@
"type": "bool"
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -21511,7 +21530,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -21580,7 +21599,7 @@
"type": "int"
}
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -21588,7 +21607,7 @@
"arguments": {
"typename": "max-x86_64-cpu"
},
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
@@ -23186,12 +23205,12 @@
"type": "bool"
}
],
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"execute": "query-machines",
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -23649,7 +23668,7 @@
"default-ram-id": "pc.ram"
}
],
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -23657,7 +23676,7 @@
"arguments": {
"typename": "none-machine"
},
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
@@ -23742,12 +23761,12 @@
"type": "string"
}
],
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
@@ -25572,12 +25591,12 @@
"deprecated": false
}
],
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
@@ -25585,12 +25604,12 @@
"tpm-crb",
"tpm-tis"
],
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
@@ -25598,12 +25617,12 @@
"passthrough",
"emulator"
],
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
@@ -26898,12 +26917,12 @@
"option": "drive"
}
],
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-48"
+ "id": "libvirt-49"
}
{
@@ -26981,16 +27000,16 @@
"capability": "validate-uuid"
}
],
- "id": "libvirt-48"
+ "id": "libvirt-49"
}
{
"execute": "query-sev-capabilities",
- "id": "libvirt-49"
+ "id": "libvirt-50"
}
{
- "id": "libvirt-49",
+ "id": "libvirt-50",
"error": {
"class": "GenericError",
"desc": "SEV is not enabled in KVM"
@@ -27005,7 +27024,7 @@
"name": "host"
}
},
- "id": "libvirt-50"
+ "id": "libvirt-51"
}
{
@@ -27314,7 +27333,7 @@
}
}
},
- "id": "libvirt-50"
+ "id": "libvirt-51"
}
{
@@ -27328,7 +27347,7 @@
}
}
},
- "id": "libvirt-51"
+ "id": "libvirt-52"
}
{
@@ -27637,7 +27656,7 @@
}
}
},
- "id": "libvirt-51"
+ "id": "libvirt-52"
}
{
diff --git a/tests/qemucapabilitiesdata/caps_6.0.0.aarch64.replies
b/tests/qemucapabilitiesdata/caps_6.0.0.aarch64.replies
index ffb17cbc84..1b9fd6b18a 100644
--- a/tests/qemucapabilitiesdata/caps_6.0.0.aarch64.replies
+++ b/tests/qemucapabilitiesdata/caps_6.0.0.aarch64.replies
@@ -23376,12 +23376,31 @@
"id": "libvirt-33"
}
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "virtio-iommu-pci"
+ },
+ "id": "libvirt-34"
+}
+
+{
+ "return": [
+ {
+ "name": "fake-data",
+ "description": "pretend there's real data here",
+ "type": "str"
+ }
+ ],
+ "id": "libvirt-34"
+}
+
{
"execute": "qom-list-properties",
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -23451,7 +23470,7 @@
"type": "bool"
}
],
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -23459,7 +23478,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -23528,7 +23547,7 @@
"type": "bool"
}
],
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -23536,7 +23555,7 @@
"arguments": {
"typename": "max-arm-cpu"
},
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -23745,12 +23764,12 @@
"type": "bool"
}
],
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
"execute": "query-machines",
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -24529,7 +24548,7 @@
"deprecated": false
}
],
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -24537,7 +24556,7 @@
"arguments": {
"typename": "virt-6.0-machine"
},
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -24723,7 +24742,7 @@
"type": "child<cfi.pflash01>"
}
],
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -24731,7 +24750,7 @@
"arguments": {
"typename": "none-machine"
},
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -24829,12 +24848,12 @@
"type": "child<container>"
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -25074,24 +25093,24 @@
"deprecated": false
}
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"return": [
"tpm-tis"
],
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -25099,12 +25118,12 @@
"passthrough",
"emulator"
],
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
@@ -26301,12 +26320,12 @@
"option": "drive"
}
],
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
@@ -26388,12 +26407,12 @@
"capability": "background-snapshot"
}
],
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
"execute": "query-gic-capabilities",
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
@@ -26409,7 +26428,7 @@
"kernel": false
}
],
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
@@ -26420,7 +26439,7 @@
"name": "host"
}
},
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
@@ -26452,7 +26471,7 @@
}
}
},
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
diff --git a/tests/qemucapabilitiesdata/caps_6.0.0.s390x.replies
b/tests/qemucapabilitiesdata/caps_6.0.0.s390x.replies
index 67706ec6d5..388f95d3d1 100644
--- a/tests/qemucapabilitiesdata/caps_6.0.0.s390x.replies
+++ b/tests/qemucapabilitiesdata/caps_6.0.0.s390x.replies
@@ -21089,12 +21089,31 @@
"id": "libvirt-31"
}
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "virtio-iommu-pci"
+ },
+ "id": "libvirt-32"
+}
+
+{
+ "return": [
+ {
+ "name": "fake-data",
+ "description": "pretend there's real data here",
+ "type": "str"
+ }
+ ],
+ "id": "libvirt-32"
+}
+
{
"execute": "qom-list-properties",
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-32"
+ "id": "libvirt-33"
}
{
@@ -21164,7 +21183,7 @@
"type": "bool"
}
],
- "id": "libvirt-32"
+ "id": "libvirt-33"
}
{
@@ -21172,7 +21191,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
@@ -21241,12 +21260,12 @@
"type": "int"
}
],
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
"execute": "query-machines",
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -21424,7 +21443,7 @@
"default-ram-id": "s390.ram"
}
],
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -21432,7 +21451,7 @@
"arguments": {
"typename": "none-machine"
},
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -21530,12 +21549,12 @@
"type": "child<container>"
}
],
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -22216,34 +22235,34 @@
"deprecated": false
}
],
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
"return": [
],
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
"return": [
],
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -23419,12 +23438,12 @@
"option": "drive"
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -23506,7 +23525,7 @@
"capability": "background-snapshot"
}
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -23517,7 +23536,7 @@
"name": "host"
}
},
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
@@ -23574,7 +23593,7 @@
}
}
},
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
diff --git a/tests/qemucapabilitiesdata/caps_6.0.0.x86_64.replies
b/tests/qemucapabilitiesdata/caps_6.0.0.x86_64.replies
index 4cde1b4eb5..2577587d9b 100644
--- a/tests/qemucapabilitiesdata/caps_6.0.0.x86_64.replies
+++ b/tests/qemucapabilitiesdata/caps_6.0.0.x86_64.replies
@@ -23212,12 +23212,31 @@
"id": "libvirt-38"
}
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "virtio-iommu-pci"
+ },
+ "id": "libvirt-39"
+}
+
+{
+ "return": [
+ {
+ "name": "fake-data",
+ "description": "pretend there's real data here",
+ "type": "str"
+ }
+ ],
+ "id": "libvirt-39"
+}
+
{
"execute": "qom-list-properties",
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -23291,7 +23310,7 @@
"type": "bool"
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -23299,7 +23318,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -23368,7 +23387,7 @@
"type": "int"
}
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -23376,7 +23395,7 @@
"arguments": {
"typename": "max-x86_64-cpu"
},
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
@@ -25022,12 +25041,12 @@
"type": "bool"
}
],
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"execute": "query-machines",
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -25474,7 +25493,7 @@
"default-ram-id": "pc.ram"
}
],
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -25482,7 +25501,7 @@
"arguments": {
"typename": "none-machine"
},
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
@@ -25580,12 +25599,12 @@
"type": "child<container>"
}
],
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
@@ -27453,12 +27472,12 @@
"deprecated": false
}
],
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
@@ -27466,12 +27485,12 @@
"tpm-crb",
"tpm-tis"
],
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
@@ -27479,12 +27498,12 @@
"passthrough",
"emulator"
],
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
@@ -28803,12 +28822,12 @@
"option": "drive"
}
],
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-48"
+ "id": "libvirt-49"
}
{
@@ -28890,12 +28909,12 @@
"capability": "background-snapshot"
}
],
- "id": "libvirt-48"
+ "id": "libvirt-49"
}
{
"execute": "query-sev-capabilities",
- "id": "libvirt-49"
+ "id": "libvirt-50"
}
{
@@ -28905,7 +28924,7 @@
"cert-chain":
"AQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAA",
"pdh":
"AQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAA"
},
- "id": "libvirt-49"
+ "id": "libvirt-50"
}
{
@@ -28916,7 +28935,7 @@
"name": "host"
}
},
- "id": "libvirt-50"
+ "id": "libvirt-51"
}
{
@@ -29237,7 +29256,7 @@
}
}
},
- "id": "libvirt-50"
+ "id": "libvirt-51"
}
{
@@ -29251,7 +29270,7 @@
}
}
},
- "id": "libvirt-51"
+ "id": "libvirt-52"
}
{
@@ -29572,7 +29591,7 @@
}
}
},
- "id": "libvirt-51"
+ "id": "libvirt-52"
}
{
diff --git a/tests/qemucapabilitiesdata/caps_6.1.0.x86_64.replies
b/tests/qemucapabilitiesdata/caps_6.1.0.x86_64.replies
index 1fb3b3de8c..42c64d946a 100644
--- a/tests/qemucapabilitiesdata/caps_6.1.0.x86_64.replies
+++ b/tests/qemucapabilitiesdata/caps_6.1.0.x86_64.replies
@@ -23454,12 +23454,31 @@
"id": "libvirt-38"
}
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "virtio-iommu-pci"
+ },
+ "id": "libvirt-39"
+}
+
+{
+ "return": [
+ {
+ "name": "fake-data",
+ "description": "pretend there's real data here",
+ "type": "str"
+ }
+ ],
+ "id": "libvirt-39"
+}
+
{
"execute": "qom-list-properties",
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -23538,7 +23557,7 @@
"type": "bool"
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -23546,7 +23565,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -23620,7 +23639,7 @@
"type": "int"
}
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -23628,7 +23647,7 @@
"arguments": {
"typename": "max-x86_64-cpu"
},
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
@@ -25286,12 +25305,12 @@
"type": "bool"
}
],
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"execute": "query-machines",
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -25756,7 +25775,7 @@
"default-ram-id": "pc.ram"
}
],
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -25764,7 +25783,7 @@
"arguments": {
"typename": "none-machine"
},
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
@@ -25867,12 +25886,12 @@
"type": "child<container>"
}
],
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
@@ -27929,12 +27948,12 @@
"deprecated": false
}
],
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
@@ -27942,12 +27961,12 @@
"tpm-crb",
"tpm-tis"
],
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
@@ -27955,12 +27974,12 @@
"passthrough",
"emulator"
],
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
@@ -29292,12 +29311,12 @@
"option": "drive"
}
],
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-48"
+ "id": "libvirt-49"
}
{
@@ -29379,16 +29398,16 @@
"capability": "background-snapshot"
}
],
- "id": "libvirt-48"
+ "id": "libvirt-49"
}
{
"execute": "query-sev-capabilities",
- "id": "libvirt-49"
+ "id": "libvirt-50"
}
{
- "id": "libvirt-49",
+ "id": "libvirt-50",
"error": {
"class": "GenericError",
"desc": "Failed to open /dev/sev: No such file or directory"
@@ -29403,7 +29422,7 @@
"name": "host"
}
},
- "id": "libvirt-50"
+ "id": "libvirt-51"
}
{
@@ -29726,7 +29745,7 @@
}
}
},
- "id": "libvirt-50"
+ "id": "libvirt-51"
}
{
@@ -29740,7 +29759,7 @@
}
}
},
- "id": "libvirt-51"
+ "id": "libvirt-52"
}
{
@@ -30063,7 +30082,7 @@
}
}
},
- "id": "libvirt-51"
+ "id": "libvirt-52"
}
{
diff --git a/tests/qemucapabilitiesdata/caps_6.2.0.aarch64.replies
b/tests/qemucapabilitiesdata/caps_6.2.0.aarch64.replies
index e8ce132f3c..1a660ffd4d 100644
--- a/tests/qemucapabilitiesdata/caps_6.2.0.aarch64.replies
+++ b/tests/qemucapabilitiesdata/caps_6.2.0.aarch64.replies
@@ -24217,12 +24217,31 @@
"id": "libvirt-34"
}
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "virtio-iommu-pci"
+ },
+ "id": "libvirt-35"
+}
+
+{
+ "return": [
+ {
+ "name": "fake-data",
+ "description": "pretend there's real data here",
+ "type": "str"
+ }
+ ],
+ "id": "libvirt-35"
+}
+
{
"execute": "qom-list-properties",
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -24297,7 +24316,7 @@
"type": "bool"
}
],
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -24305,7 +24324,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -24379,7 +24398,7 @@
"type": "bool"
}
],
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -24387,7 +24406,7 @@
"arguments": {
"typename": "max-arm-cpu"
},
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -24596,12 +24615,12 @@
"type": "bool"
}
],
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
"execute": "query-machines",
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -25445,7 +25464,7 @@
"deprecated": false
}
],
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -25453,7 +25472,7 @@
"arguments": {
"typename": "virt-6.2-machine"
},
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -25649,7 +25668,7 @@
"type": "child<cfi.pflash01>"
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -25657,7 +25676,7 @@
"arguments": {
"typename": "none-machine"
},
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -25760,12 +25779,12 @@
"type": "child<container>"
}
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
@@ -26011,24 +26030,24 @@
"deprecated": false
}
],
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
"return": [
"tpm-tis"
],
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
@@ -26036,12 +26055,12 @@
"passthrough",
"emulator"
],
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
@@ -27389,12 +27408,12 @@
"option": "drive"
}
],
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
@@ -27476,12 +27495,12 @@
"capability": "background-snapshot"
}
],
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
"execute": "query-gic-capabilities",
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
@@ -27497,7 +27516,7 @@
"kernel": false
}
],
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
@@ -27508,7 +27527,7 @@
"name": "host"
}
},
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
@@ -27540,7 +27559,7 @@
}
}
},
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
diff --git a/tests/qemucapabilitiesdata/caps_6.2.0.ppc64.replies
b/tests/qemucapabilitiesdata/caps_6.2.0.ppc64.replies
index 089db57737..915b6a0584 100644
--- a/tests/qemucapabilitiesdata/caps_6.2.0.ppc64.replies
+++ b/tests/qemucapabilitiesdata/caps_6.2.0.ppc64.replies
@@ -26153,12 +26153,31 @@
"id": "libvirt-34"
}
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "virtio-iommu-pci"
+ },
+ "id": "libvirt-35"
+}
+
+{
+ "return": [
+ {
+ "name": "fake-data",
+ "description": "pretend there's real data here",
+ "type": "str"
+ }
+ ],
+ "id": "libvirt-35"
+}
+
{
"execute": "qom-list-properties",
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -26233,7 +26252,7 @@
"type": "bool"
}
],
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -26241,7 +26260,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -26315,12 +26334,12 @@
"type": "bool"
}
],
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
"execute": "query-machines",
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -26683,7 +26702,7 @@
"default-ram-id": "mpc8544ds.ram"
}
],
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -26691,7 +26710,7 @@
"arguments": {
"typename": "pseries-6.2-machine"
},
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -26923,7 +26942,7 @@
"type": "string"
}
],
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -26931,7 +26950,7 @@
"arguments": {
"typename": "none-machine"
},
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -27034,12 +27053,12 @@
"type": "child<container>"
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -29691,24 +29710,24 @@
"deprecated": false
}
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"return": [
"tpm-spapr"
],
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -29716,12 +29735,12 @@
"passthrough",
"emulator"
],
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
@@ -30855,12 +30874,12 @@
"option": "drive"
}
],
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
@@ -30942,7 +30961,7 @@
"capability": "background-snapshot"
}
],
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
diff --git a/tests/qemucapabilitiesdata/caps_6.2.0.x86_64.replies
b/tests/qemucapabilitiesdata/caps_6.2.0.x86_64.replies
index 8a574c893b..e235532d62 100644
--- a/tests/qemucapabilitiesdata/caps_6.2.0.x86_64.replies
+++ b/tests/qemucapabilitiesdata/caps_6.2.0.x86_64.replies
@@ -26635,12 +26635,31 @@
"id": "libvirt-38"
}
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "virtio-iommu-pci"
+ },
+ "id": "libvirt-39"
+}
+
+{
+ "return": [
+ {
+ "name": "fake-data",
+ "description": "pretend there's real data here",
+ "type": "str"
+ }
+ ],
+ "id": "libvirt-39"
+}
+
{
"execute": "qom-list-properties",
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -26719,7 +26738,7 @@
"type": "bool"
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -26727,7 +26746,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -26801,7 +26820,7 @@
"type": "int"
}
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -26809,7 +26828,7 @@
"arguments": {
"typename": "max-x86_64-cpu"
},
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
@@ -28549,12 +28568,12 @@
"type": "bool"
}
],
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"execute": "query-machines",
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -29037,7 +29056,7 @@
"default-ram-id": "pc.ram"
}
],
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -29045,7 +29064,7 @@
"arguments": {
"typename": "none-machine"
},
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
@@ -29148,12 +29167,12 @@
"type": "child<container>"
}
],
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
@@ -31222,12 +31241,12 @@
"deprecated": false
}
],
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
@@ -31235,12 +31254,12 @@
"tpm-crb",
"tpm-tis"
],
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
@@ -31248,12 +31267,12 @@
"passthrough",
"emulator"
],
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
@@ -32585,12 +32604,12 @@
"option": "drive"
}
],
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-48"
+ "id": "libvirt-49"
}
{
@@ -32672,16 +32691,16 @@
"capability": "background-snapshot"
}
],
- "id": "libvirt-48"
+ "id": "libvirt-49"
}
{
"execute": "query-sev-capabilities",
- "id": "libvirt-49"
+ "id": "libvirt-50"
}
{
- "id": "libvirt-49",
+ "id": "libvirt-50",
"error": {
"class": "GenericError",
"desc": "SEV: Failed to open /dev/sev: No such file or
directory"
@@ -32696,7 +32715,7 @@
"name": "host"
}
},
- "id": "libvirt-50"
+ "id": "libvirt-51"
}
{
@@ -33029,7 +33048,7 @@
}
}
},
- "id": "libvirt-50"
+ "id": "libvirt-51"
}
{
@@ -33043,7 +33062,7 @@
}
}
},
- "id": "libvirt-51"
+ "id": "libvirt-52"
}
{
@@ -33376,7 +33395,7 @@
}
}
},
- "id": "libvirt-51"
+ "id": "libvirt-52"
}
{
diff --git a/tests/qemucapabilitiesdata/caps_7.0.0.aarch64.replies
b/tests/qemucapabilitiesdata/caps_7.0.0.aarch64.replies
index fe6bd2d1ca..d2de096282 100644
--- a/tests/qemucapabilitiesdata/caps_7.0.0.aarch64.replies
+++ b/tests/qemucapabilitiesdata/caps_7.0.0.aarch64.replies
@@ -27722,12 +27722,235 @@
"id": "libvirt-35"
}
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "virtio-iommu-pci"
+ },
+ "id": "libvirt-36"
+}
+
+{
+ "return": [
+ {
+ "default-value": 1,
+ "name": "rombar",
+ "type": "uint32"
+ },
+ {
+ "default-value": true,
+ "name": "x-pcie-lnksta-dllla",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": 4294967295,
+ "name": "romsize",
+ "type": "uint32"
+ },
+ {
+ "default-value": false,
+ "name": "multifunction",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": 0,
+ "name": "acpi-index",
+ "type": "uint32"
+ },
+ {
+ "name": "romfile",
+ "type": "str"
+ },
+ {
+ "default-value": true,
+ "name": "x-pcie-extcap-init",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": -1,
+ "name": "addr",
+ "description": "Slot and optional function number, example: 06.0 or
06",
+ "type": "int32"
+ },
+ {
+ "name": "failover_pair_id",
+ "type": "str"
+ },
+ {
+ "default-value": false,
+ "name": "virtio-pci-bus-master-bug-migration",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": true,
+ "name": "x-pcie-lnkctl-init",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": true,
+ "name": "x-pcie-flr-init",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": false,
+ "name": "x-ignore-backend-features",
+ "type": "bool"
+ },
+ {
+ "default-value": false,
+ "name": "page-per-vq",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": true,
+ "name": "migrate-extra",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": true,
+ "name": "x-pcie-pm-init",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": false,
+ "name": "modern-pio-notify",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": true,
+ "name": "x-pcie-deverr-init",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": false,
+ "name": "aer",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": false,
+ "name": "ats",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": false,
+ "name": "x-disable-pcie",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": true,
+ "name": "x-ats-page-aligned",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": false,
+ "name": "disable-modern",
+ "type": "bool"
+ },
+ {
+ "default-value": "auto",
+ "name": "disable-legacy",
+ "description": "on/off/auto",
+ "type": "OnOffAuto"
+ },
+ {
+ "default-value": 0,
+ "name": "len-reserved-regions",
+ "type": "uint32"
+ },
+ {
+ "default-value": 0,
+ "name": "class",
+ "type": "uint32"
+ },
+ {
+ "default-value": true,
+ "name": "notify_on_empty",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": true,
+ "name": "any_layout",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": true,
+ "name": "indirect_desc",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": true,
+ "name": "use-started",
+ "type": "bool"
+ },
+ {
+ "default-value": true,
+ "name": "boot-bypass",
+ "type": "bool"
+ },
+ {
+ "default-value": true,
+ "name": "event_idx",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "name": "primary-bus",
+ "type": "link<PCI>"
+ },
+ {
+ "default-value": false,
+ "name": "x-disable-legacy-check",
+ "type": "bool"
+ },
+ {
+ "name": "virtio-backend",
+ "type": "child<virtio-iommu-device>"
+ },
+ {
+ "default-value": false,
+ "name": "iommu_platform",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": true,
+ "name": "use-disabled-flag",
+ "type": "bool"
+ },
+ {
+ "default-value": false,
+ "name": "packed",
+ "description": "on/off",
+ "type": "bool"
+ }
+ ],
+ "id": "libvirt-36"
+}
+
{
"execute": "qom-list-properties",
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -27802,7 +28025,7 @@
"type": "bool"
}
],
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -27810,7 +28033,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -27884,7 +28107,7 @@
"type": "bool"
}
],
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -27892,7 +28115,7 @@
"arguments": {
"typename": "max-arm-cpu"
},
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -28101,12 +28324,12 @@
"type": "bool"
}
],
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
"execute": "query-machines",
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -28976,7 +29199,7 @@
"deprecated": false
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -28984,7 +29207,7 @@
"arguments": {
"typename": "virt-7.0-machine"
},
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -29185,7 +29408,7 @@
"type": "child<cfi.pflash01>"
}
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -29193,7 +29416,7 @@
"arguments": {
"typename": "none-machine"
},
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
@@ -29296,12 +29519,12 @@
"type": "child<container>"
}
],
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -29547,24 +29770,24 @@
"deprecated": false
}
],
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
"return": [
"tpm-tis"
],
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
@@ -29572,12 +29795,12 @@
"passthrough",
"emulator"
],
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
@@ -30929,12 +31152,12 @@
"option": "drive"
}
],
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
@@ -31016,12 +31239,12 @@
"capability": "background-snapshot"
}
],
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
"execute": "query-gic-capabilities",
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
@@ -31037,7 +31260,7 @@
"kernel": false
}
],
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
@@ -31048,7 +31271,7 @@
"name": "host"
}
},
- "id": "libvirt-48"
+ "id": "libvirt-49"
}
{
@@ -31081,7 +31304,7 @@
}
}
},
- "id": "libvirt-48"
+ "id": "libvirt-49"
}
{
diff --git a/tests/qemucapabilitiesdata/caps_7.0.0.aarch64.xml
b/tests/qemucapabilitiesdata/caps_7.0.0.aarch64.xml
index da1ad8f55c..7ce5e4c233 100644
--- a/tests/qemucapabilitiesdata/caps_7.0.0.aarch64.xml
+++ b/tests/qemucapabilitiesdata/caps_7.0.0.aarch64.xml
@@ -211,6 +211,7 @@
<flag name='dirtyrate-param.mode'/>
<flag name='blockdev.nbd.tls-hostname'/>
<flag name='virtio-iommu-pci'/>
+ <flag name='virtio-iommu.boot-bypass'/>
<version>6002090</version>
<kvmVersion>0</kvmVersion>
<microcodeVersion>61700243</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_7.0.0.ppc64.replies
b/tests/qemucapabilitiesdata/caps_7.0.0.ppc64.replies
index d935e74dff..864e8de743 100644
--- a/tests/qemucapabilitiesdata/caps_7.0.0.ppc64.replies
+++ b/tests/qemucapabilitiesdata/caps_7.0.0.ppc64.replies
@@ -26160,12 +26160,31 @@
"id": "libvirt-34"
}
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "virtio-iommu-pci"
+ },
+ "id": "libvirt-35"
+}
+
+{
+ "return": [
+ {
+ "name": "fake-data",
+ "description": "pretend there's real data here",
+ "type": "str"
+ }
+ ],
+ "id": "libvirt-35"
+}
+
{
"execute": "qom-list-properties",
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -26240,7 +26259,7 @@
"type": "bool"
}
],
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -26248,7 +26267,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -26322,12 +26341,12 @@
"type": "bool"
}
],
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
"execute": "query-machines",
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -26699,7 +26718,7 @@
"default-ram-id": "mpc8544ds.ram"
}
],
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -26707,7 +26726,7 @@
"arguments": {
"typename": "pseries-7.0-machine"
},
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -26939,7 +26958,7 @@
"type": "string"
}
],
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -26947,7 +26966,7 @@
"arguments": {
"typename": "none-machine"
},
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -27050,12 +27069,12 @@
"type": "child<container>"
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -29617,24 +29636,24 @@
"deprecated": false
}
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"return": [
"tpm-spapr"
],
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -29642,12 +29661,12 @@
"passthrough",
"emulator"
],
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
@@ -30785,12 +30804,12 @@
"option": "drive"
}
],
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
@@ -30872,7 +30891,7 @@
"capability": "background-snapshot"
}
],
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
diff --git a/tests/qemucapabilitiesdata/caps_7.0.0.x86_64.replies
b/tests/qemucapabilitiesdata/caps_7.0.0.x86_64.replies
index 82ccbab6eb..4d161f2a87 100644
--- a/tests/qemucapabilitiesdata/caps_7.0.0.x86_64.replies
+++ b/tests/qemucapabilitiesdata/caps_7.0.0.x86_64.replies
@@ -26937,12 +26937,235 @@
"id": "libvirt-38"
}
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "virtio-iommu-pci"
+ },
+ "id": "libvirt-39"
+}
+
+{
+ "return": [
+ {
+ "name": "failover_pair_id",
+ "type": "str"
+ },
+ {
+ "name": "romfile",
+ "type": "str"
+ },
+ {
+ "default-value": -1,
+ "name": "addr",
+ "description": "Slot and optional function number, example: 06.0 or
06",
+ "type": "int32"
+ },
+ {
+ "default-value": 4294967295,
+ "name": "romsize",
+ "type": "uint32"
+ },
+ {
+ "default-value": true,
+ "name": "x-pcie-lnksta-dllla",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": 1,
+ "name": "rombar",
+ "type": "uint32"
+ },
+ {
+ "default-value": true,
+ "name": "x-pcie-extcap-init",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": 0,
+ "name": "acpi-index",
+ "type": "uint32"
+ },
+ {
+ "default-value": false,
+ "name": "multifunction",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": true,
+ "name": "migrate-extra",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": false,
+ "name": "ats",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": false,
+ "name": "x-ignore-backend-features",
+ "type": "bool"
+ },
+ {
+ "default-value": true,
+ "name": "x-pcie-pm-init",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": false,
+ "name": "aer",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": true,
+ "name": "x-pcie-flr-init",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": true,
+ "name": "x-pcie-lnkctl-init",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": true,
+ "name": "x-ats-page-aligned",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": false,
+ "name": "page-per-vq",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": true,
+ "name": "x-pcie-deverr-init",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": false,
+ "name": "virtio-pci-bus-master-bug-migration",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": false,
+ "name": "modern-pio-notify",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": false,
+ "name": "x-disable-pcie",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": "auto",
+ "name": "disable-legacy",
+ "description": "on/off/auto",
+ "type": "OnOffAuto"
+ },
+ {
+ "default-value": false,
+ "name": "disable-modern",
+ "type": "bool"
+ },
+ {
+ "default-value": 0,
+ "name": "len-reserved-regions",
+ "type": "uint32"
+ },
+ {
+ "default-value": 0,
+ "name": "class",
+ "type": "uint32"
+ },
+ {
+ "default-value": true,
+ "name": "use-disabled-flag",
+ "type": "bool"
+ },
+ {
+ "name": "virtio-backend",
+ "type": "child<virtio-iommu-device>"
+ },
+ {
+ "default-value": false,
+ "name": "packed",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": false,
+ "name": "iommu_platform",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": true,
+ "name": "event_idx",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": true,
+ "name": "boot-bypass",
+ "type": "bool"
+ },
+ {
+ "default-value": false,
+ "name": "x-disable-legacy-check",
+ "type": "bool"
+ },
+ {
+ "default-value": true,
+ "name": "notify_on_empty",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": true,
+ "name": "any_layout",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "default-value": true,
+ "name": "use-started",
+ "type": "bool"
+ },
+ {
+ "default-value": true,
+ "name": "indirect_desc",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "name": "primary-bus",
+ "type": "link<PCI>"
+ }
+ ],
+ "id": "libvirt-39"
+}
+
{
"execute": "qom-list-properties",
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -27021,7 +27244,7 @@
"type": "bool"
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -27029,7 +27252,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -27103,7 +27326,7 @@
"type": "int"
}
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -27111,7 +27334,7 @@
"arguments": {
"typename": "max-x86_64-cpu"
},
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
@@ -28851,12 +29074,12 @@
"type": "bool"
}
],
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"execute": "query-machines",
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -29357,7 +29580,7 @@
"default-ram-id": "pc.ram"
}
],
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -29365,7 +29588,7 @@
"arguments": {
"typename": "none-machine"
},
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
@@ -29468,12 +29691,12 @@
"type": "child<container>"
}
],
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
@@ -31542,12 +31765,12 @@
"deprecated": false
}
],
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
@@ -31555,12 +31778,12 @@
"tpm-crb",
"tpm-tis"
],
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
@@ -31568,12 +31791,12 @@
"passthrough",
"emulator"
],
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
@@ -32909,12 +33132,12 @@
"option": "drive"
}
],
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-48"
+ "id": "libvirt-49"
}
{
@@ -32996,16 +33219,16 @@
"capability": "background-snapshot"
}
],
- "id": "libvirt-48"
+ "id": "libvirt-49"
}
{
"execute": "query-sev-capabilities",
- "id": "libvirt-49"
+ "id": "libvirt-50"
}
{
- "id": "libvirt-49",
+ "id": "libvirt-50",
"error": {
"class": "GenericError",
"desc": "SEV: Failed to open /dev/sev: No such file or
directory"
@@ -33020,7 +33243,7 @@
"name": "host"
}
},
- "id": "libvirt-50"
+ "id": "libvirt-51"
}
{
@@ -33353,7 +33576,7 @@
}
}
},
- "id": "libvirt-50"
+ "id": "libvirt-51"
}
{
@@ -33367,7 +33590,7 @@
}
}
},
- "id": "libvirt-51"
+ "id": "libvirt-52"
}
{
@@ -33700,7 +33923,7 @@
}
}
},
- "id": "libvirt-51"
+ "id": "libvirt-52"
}
{
diff --git a/tests/qemucapabilitiesdata/caps_7.0.0.x86_64.xml
b/tests/qemucapabilitiesdata/caps_7.0.0.x86_64.xml
index bddf27cfa7..85d53b8445 100644
--- a/tests/qemucapabilitiesdata/caps_7.0.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_7.0.0.x86_64.xml
@@ -245,6 +245,7 @@
<flag name='dirtyrate-param.mode'/>
<flag name='blockdev.nbd.tls-hostname'/>
<flag name='virtio-iommu-pci'/>
+ <flag name='virtio-iommu.boot-bypass'/>
<version>6002050</version>
<kvmVersion>0</kvmVersion>
<microcodeVersion>43100243</microcodeVersion>
--
2.35.1