qemu: Introduce QEMU_CAPS_VIRTIO_IOMMU_BOOT_BYPASS

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@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Andrea Bolognani
2021-10-06 18:35:39 +02:00
parent fd6442f381
commit 672c227037
25 changed files with 1490 additions and 486 deletions

View File

@@ -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"
}
{