From: Julio Faracco <jcfaracco(a)gmail.com>
The display model 'bochs-display' should be added into capability test
case of command 'device-list-properties' because we are supporting this
display now. It is listed by 'virQEMUCapsDeviceProps'.
See src/qemu/qemu_capabilities.c:1378.
Signed-off-by: Julio Faracco <jcfaracco(a)gmail.com>
---
.../caps_3.0.0.ppc64.replies | 139 +++++++++++----
.../caps_3.0.0.x86_64.replies | 167 +++++++++++++-----
.../caps_3.1.0.ppc64.replies | 139 +++++++++++----
.../caps_3.1.0.x86_64.replies | 167 +++++++++++++-----
.../caps_4.0.0.aarch64.replies | 139 +++++++++++----
.../caps_4.0.0.ppc64.replies | 139 +++++++++++----
.../caps_4.0.0.riscv32.replies | 131 +++++++++++---
.../caps_4.0.0.riscv64.replies | 131 +++++++++++---
.../caps_4.0.0.x86_64.replies | 167 +++++++++++++-----
.../caps_4.1.0.x86_64.replies | 159 ++++++++++++-----
10 files changed, 1114 insertions(+), 364 deletions(-)
diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.replies
b/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.replies
index fa370a39bd..c3c9cdac53 100644
--- a/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.replies
+++ b/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.replies
@@ -4963,13 +4963,88 @@
{
"execute": "device-list-properties",
"arguments": {
- "typename": "ICH9-LPC"
+ "typename": "bochs-display"
},
"id": "libvirt-24"
}
{
- "id": "libvirt-24",
+ "return": [
+ {
+ "name": "yres",
+ "type": "uint32"
+ },
+ {
+ "name": "xmax",
+ "type": "uint32"
+ },
+ {
+ "name": "big-endian-framebuffer",
+ "type": "bool"
+ },
+ {
+ "name": "addr",
+ "description": "Slot and optional function number, example: 06.0 or
06",
+ "type": "int32"
+ },
+ {
+ "name": "vgamem",
+ "type": "size"
+ },
+ {
+ "name": "edid",
+ "type": "bool"
+ },
+ {
+ "name": "ymax",
+ "type": "uint32"
+ },
+ {
+ "name": "x-pcie-extcap-init",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "x-pcie-lnksta-dllla",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "command_serr_enable",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "multifunction",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "romfile",
+ "type": "str"
+ },
+ {
+ "name": "rombar",
+ "type": "uint32"
+ },
+ {
+ "name": "xres",
+ "type": "uint32"
+ }
+ ],
+ "id": "libvirt-24"
+}
+
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "ICH9-LPC"
+ },
+ "id": "libvirt-25"
+}
+
+{
+ "id": "libvirt-25",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'ICH9-LPC' not found"
@@ -4981,7 +5056,7 @@
"arguments": {
"typename": "virtio-balloon-pci"
},
- "id": "libvirt-25"
+ "id": "libvirt-26"
}
{
@@ -5124,7 +5199,7 @@
"type": "str"
}
],
- "id": "libvirt-25"
+ "id": "libvirt-26"
}
{
@@ -5132,11 +5207,11 @@
"arguments": {
"typename": "virtio-balloon-ccw"
},
- "id": "libvirt-26"
+ "id": "libvirt-27"
}
{
- "id": "libvirt-26",
+ "id": "libvirt-27",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'virtio-balloon-ccw' not found"
@@ -5148,7 +5223,7 @@
"arguments": {
"typename": "virtio-balloon-device"
},
- "id": "libvirt-27"
+ "id": "libvirt-28"
}
{
@@ -5192,7 +5267,7 @@
"type": "bool"
}
],
- "id": "libvirt-27"
+ "id": "libvirt-28"
}
{
@@ -5200,7 +5275,7 @@
"arguments": {
"typename": "nec-usb-xhci"
},
- "id": "libvirt-28"
+ "id": "libvirt-29"
}
{
@@ -5280,7 +5355,7 @@
"type": "uint32"
}
],
- "id": "libvirt-28"
+ "id": "libvirt-29"
}
{
@@ -5288,7 +5363,7 @@
"arguments": {
"typename": "spapr-pci-host-bridge"
},
- "id": "libvirt-29"
+ "id": "libvirt-30"
}
{
@@ -5346,7 +5421,7 @@
"type": "uint32"
}
],
- "id": "libvirt-29"
+ "id": "libvirt-30"
}
{
@@ -5354,7 +5429,7 @@
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-30"
+ "id": "libvirt-31"
}
{
@@ -5404,7 +5479,7 @@
"type": "string"
}
],
- "id": "libvirt-30"
+ "id": "libvirt-31"
}
{
@@ -5412,7 +5487,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-31"
+ "id": "libvirt-32"
}
{
@@ -5462,12 +5537,12 @@
"type": "string"
}
],
- "id": "libvirt-31"
+ "id": "libvirt-32"
}
{
"execute": "query-machines",
- "id": "libvirt-32"
+ "id": "libvirt-33"
}
{
@@ -5610,7 +5685,7 @@
"cpu-max": 1
}
],
- "id": "libvirt-32"
+ "id": "libvirt-33"
}
{
@@ -5618,7 +5693,7 @@
"arguments": {
"typename": "pseries-3.0-machine"
},
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
@@ -5789,12 +5864,12 @@
"type": "bool"
}
],
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -7990,35 +8065,35 @@
"static": false
}
],
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
"return": [
],
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
"return": [
"emulator"
],
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -9148,12 +9223,12 @@
"option": "drive"
}
],
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -9223,12 +9298,12 @@
"capability": "late-block-activate"
}
],
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
"execute": "query-qmp-schema",
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -21387,7 +21462,7 @@
"meta-type": "object"
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.replies
b/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.replies
index b2ec8d75d3..7309d25fe6 100644
--- a/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.replies
+++ b/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.replies
@@ -4227,11 +4227,86 @@
{
"execute": "device-list-properties",
"arguments": {
- "typename": "ICH9-LPC"
+ "typename": "bochs-display"
},
"id": "libvirt-27"
}
+{
+ "return": [
+ {
+ "name": "yres",
+ "type": "uint32"
+ },
+ {
+ "name": "xmax",
+ "type": "uint32"
+ },
+ {
+ "name": "big-endian-framebuffer",
+ "type": "bool"
+ },
+ {
+ "name": "addr",
+ "description": "Slot and optional function number, example: 06.0 or
06",
+ "type": "int32"
+ },
+ {
+ "name": "vgamem",
+ "type": "size"
+ },
+ {
+ "name": "edid",
+ "type": "bool"
+ },
+ {
+ "name": "ymax",
+ "type": "uint32"
+ },
+ {
+ "name": "x-pcie-extcap-init",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "x-pcie-lnksta-dllla",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "command_serr_enable",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "multifunction",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "romfile",
+ "type": "str"
+ },
+ {
+ "name": "rombar",
+ "type": "uint32"
+ },
+ {
+ "name": "xres",
+ "type": "uint32"
+ }
+ ],
+ "id": "libvirt-27"
+}
+
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "ICH9-LPC"
+ },
+ "id": "libvirt-28"
+}
+
{
"return": [
{
@@ -4325,7 +4400,7 @@
"type": "uint32"
}
],
- "id": "libvirt-27"
+ "id": "libvirt-28"
}
{
@@ -4333,7 +4408,7 @@
"arguments": {
"typename": "virtio-balloon-pci"
},
- "id": "libvirt-28"
+ "id": "libvirt-29"
}
{
@@ -4476,7 +4551,7 @@
"type": "str"
}
],
- "id": "libvirt-28"
+ "id": "libvirt-29"
}
{
@@ -4484,11 +4559,11 @@
"arguments": {
"typename": "virtio-balloon-ccw"
},
- "id": "libvirt-29"
+ "id": "libvirt-30"
}
{
- "id": "libvirt-29",
+ "id": "libvirt-30",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'virtio-balloon-ccw' not found"
@@ -4500,7 +4575,7 @@
"arguments": {
"typename": "virtio-balloon-device"
},
- "id": "libvirt-30"
+ "id": "libvirt-31"
}
{
@@ -4544,7 +4619,7 @@
"type": "bool"
}
],
- "id": "libvirt-30"
+ "id": "libvirt-31"
}
{
@@ -4552,7 +4627,7 @@
"arguments": {
"typename": "nec-usb-xhci"
},
- "id": "libvirt-31"
+ "id": "libvirt-32"
}
{
@@ -4632,7 +4707,7 @@
"type": "uint32"
}
],
- "id": "libvirt-31"
+ "id": "libvirt-32"
}
{
@@ -4640,7 +4715,7 @@
"arguments": {
"typename": "intel-iommu"
},
- "id": "libvirt-32"
+ "id": "libvirt-33"
}
{
@@ -4679,7 +4754,7 @@
"type": "bool"
}
],
- "id": "libvirt-32"
+ "id": "libvirt-33"
}
{
@@ -4687,7 +4762,7 @@
"arguments": {
"typename": "mch"
},
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
@@ -4730,7 +4805,7 @@
"type": "int32"
}
],
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
@@ -4738,7 +4813,7 @@
"arguments": {
"typename": "nvdimm"
},
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -4772,7 +4847,7 @@
"type": "uint64"
}
],
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
@@ -4781,7 +4856,7 @@
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -4831,7 +4906,7 @@
"type": "string"
}
],
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -4839,7 +4914,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -4889,7 +4964,7 @@
"type": "string"
}
],
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -4897,7 +4972,7 @@
"arguments": {
"typename": "max-x86_64-cpu"
},
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -5951,12 +6026,12 @@
"type": "bool"
}
],
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
"execute": "query-machines",
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -6165,12 +6240,12 @@
"cpu-max": 255
}
],
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -6607,12 +6682,12 @@
"migration-safe": true
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -6620,12 +6695,12 @@
"tpm-crb",
"tpm-tis"
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
@@ -6633,12 +6708,12 @@
"passthrough",
"emulator"
],
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -7937,12 +8012,12 @@
"option": "drive"
}
],
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
@@ -8012,12 +8087,12 @@
"capability": "late-block-activate"
}
],
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
"execute": "query-qmp-schema",
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
@@ -19897,16 +19972,16 @@
"meta-type": "object"
}
],
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
"execute": "query-sev-capabilities",
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
- "id": "libvirt-45",
+ "id": "libvirt-46",
"error": {
"class": "GenericError",
"desc": "SEV feature is not available"
@@ -19921,7 +19996,7 @@
"name": "host"
}
},
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
@@ -20114,7 +20189,7 @@
}
}
},
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
@@ -20309,7 +20384,7 @@
}
}
},
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
@@ -20572,7 +20647,7 @@
}
}
},
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
@@ -20586,7 +20661,7 @@
}
}
},
- "id": "libvirt-48"
+ "id": "libvirt-49"
}
{
@@ -20779,7 +20854,7 @@
}
}
},
- "id": "libvirt-48"
+ "id": "libvirt-49"
}
{
@@ -20974,7 +21049,7 @@
}
}
},
- "id": "libvirt-49"
+ "id": "libvirt-50"
}
{
@@ -21237,7 +21312,7 @@
}
}
},
- "id": "libvirt-49"
+ "id": "libvirt-50"
}
{
diff --git a/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.replies
b/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.replies
index 33666a43db..e16bd1574e 100644
--- a/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.replies
+++ b/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.replies
@@ -5017,13 +5017,88 @@
{
"execute": "device-list-properties",
"arguments": {
- "typename": "ICH9-LPC"
+ "typename": "bochs-display"
},
"id": "libvirt-24"
}
{
- "id": "libvirt-24",
+ "return": [
+ {
+ "name": "yres",
+ "type": "uint32"
+ },
+ {
+ "name": "xmax",
+ "type": "uint32"
+ },
+ {
+ "name": "big-endian-framebuffer",
+ "type": "bool"
+ },
+ {
+ "name": "addr",
+ "description": "Slot and optional function number, example: 06.0 or
06",
+ "type": "int32"
+ },
+ {
+ "name": "vgamem",
+ "type": "size"
+ },
+ {
+ "name": "edid",
+ "type": "bool"
+ },
+ {
+ "name": "ymax",
+ "type": "uint32"
+ },
+ {
+ "name": "x-pcie-extcap-init",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "x-pcie-lnksta-dllla",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "command_serr_enable",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "multifunction",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "romfile",
+ "type": "str"
+ },
+ {
+ "name": "rombar",
+ "type": "uint32"
+ },
+ {
+ "name": "xres",
+ "type": "uint32"
+ }
+ ],
+ "id": "libvirt-24"
+}
+
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "ICH9-LPC"
+ },
+ "id": "libvirt-25"
+}
+
+{
+ "id": "libvirt-25",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'ICH9-LPC' not found"
@@ -5035,7 +5110,7 @@
"arguments": {
"typename": "virtio-balloon-pci"
},
- "id": "libvirt-25"
+ "id": "libvirt-26"
}
{
@@ -5178,7 +5253,7 @@
"type": "str"
}
],
- "id": "libvirt-25"
+ "id": "libvirt-26"
}
{
@@ -5186,11 +5261,11 @@
"arguments": {
"typename": "virtio-balloon-ccw"
},
- "id": "libvirt-26"
+ "id": "libvirt-27"
}
{
- "id": "libvirt-26",
+ "id": "libvirt-27",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'virtio-balloon-ccw' not found"
@@ -5202,7 +5277,7 @@
"arguments": {
"typename": "virtio-balloon-device"
},
- "id": "libvirt-27"
+ "id": "libvirt-28"
}
{
@@ -5246,7 +5321,7 @@
"type": "bool"
}
],
- "id": "libvirt-27"
+ "id": "libvirt-28"
}
{
@@ -5254,7 +5329,7 @@
"arguments": {
"typename": "nec-usb-xhci"
},
- "id": "libvirt-28"
+ "id": "libvirt-29"
}
{
@@ -5334,7 +5409,7 @@
"type": "uint32"
}
],
- "id": "libvirt-28"
+ "id": "libvirt-29"
}
{
@@ -5342,7 +5417,7 @@
"arguments": {
"typename": "spapr-pci-host-bridge"
},
- "id": "libvirt-29"
+ "id": "libvirt-30"
}
{
@@ -5400,7 +5475,7 @@
"type": "uint32"
}
],
- "id": "libvirt-29"
+ "id": "libvirt-30"
}
{
@@ -5408,7 +5483,7 @@
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-30"
+ "id": "libvirt-31"
}
{
@@ -5469,7 +5544,7 @@
"type": "bool"
}
],
- "id": "libvirt-30"
+ "id": "libvirt-31"
}
{
@@ -5477,7 +5552,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-31"
+ "id": "libvirt-32"
}
{
@@ -5537,12 +5612,12 @@
"type": "bool"
}
],
- "id": "libvirt-31"
+ "id": "libvirt-32"
}
{
"execute": "query-machines",
- "id": "libvirt-32"
+ "id": "libvirt-33"
}
{
@@ -5690,7 +5765,7 @@
"cpu-max": 1
}
],
- "id": "libvirt-32"
+ "id": "libvirt-33"
}
{
@@ -5698,7 +5773,7 @@
"arguments": {
"typename": "pseries-3.1-machine"
},
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
@@ -5872,12 +5947,12 @@
"type": "bool"
}
],
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -8073,35 +8148,35 @@
"static": false
}
],
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
"return": [
],
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
"return": [
"emulator"
],
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -9236,12 +9311,12 @@
"option": "drive"
}
],
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -9311,12 +9386,12 @@
"capability": "late-block-activate"
}
],
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
"execute": "query-qmp-schema",
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -21184,7 +21259,7 @@
"meta-type": "object"
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
diff --git a/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.replies
b/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.replies
index b8b117ffaf..2c22eefc43 100644
--- a/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.replies
+++ b/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.replies
@@ -4270,11 +4270,86 @@
{
"execute": "device-list-properties",
"arguments": {
- "typename": "ICH9-LPC"
+ "typename": "bochs-display"
},
"id": "libvirt-27"
}
+{
+ "return": [
+ {
+ "name": "yres",
+ "type": "uint32"
+ },
+ {
+ "name": "xmax",
+ "type": "uint32"
+ },
+ {
+ "name": "big-endian-framebuffer",
+ "type": "bool"
+ },
+ {
+ "name": "addr",
+ "description": "Slot and optional function number, example: 06.0 or
06",
+ "type": "int32"
+ },
+ {
+ "name": "vgamem",
+ "type": "size"
+ },
+ {
+ "name": "edid",
+ "type": "bool"
+ },
+ {
+ "name": "ymax",
+ "type": "uint32"
+ },
+ {
+ "name": "x-pcie-extcap-init",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "x-pcie-lnksta-dllla",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "command_serr_enable",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "multifunction",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "romfile",
+ "type": "str"
+ },
+ {
+ "name": "rombar",
+ "type": "uint32"
+ },
+ {
+ "name": "xres",
+ "type": "uint32"
+ }
+ ],
+ "id": "libvirt-27"
+}
+
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "ICH9-LPC"
+ },
+ "id": "libvirt-28"
+}
+
{
"return": [
{
@@ -4368,7 +4443,7 @@
"type": "uint32"
}
],
- "id": "libvirt-27"
+ "id": "libvirt-28"
}
{
@@ -4376,7 +4451,7 @@
"arguments": {
"typename": "virtio-balloon-pci"
},
- "id": "libvirt-28"
+ "id": "libvirt-29"
}
{
@@ -4519,7 +4594,7 @@
"type": "str"
}
],
- "id": "libvirt-28"
+ "id": "libvirt-29"
}
{
@@ -4527,11 +4602,11 @@
"arguments": {
"typename": "virtio-balloon-ccw"
},
- "id": "libvirt-29"
+ "id": "libvirt-30"
}
{
- "id": "libvirt-29",
+ "id": "libvirt-30",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'virtio-balloon-ccw' not found"
@@ -4543,7 +4618,7 @@
"arguments": {
"typename": "virtio-balloon-device"
},
- "id": "libvirt-30"
+ "id": "libvirt-31"
}
{
@@ -4587,7 +4662,7 @@
"type": "bool"
}
],
- "id": "libvirt-30"
+ "id": "libvirt-31"
}
{
@@ -4595,7 +4670,7 @@
"arguments": {
"typename": "nec-usb-xhci"
},
- "id": "libvirt-31"
+ "id": "libvirt-32"
}
{
@@ -4675,7 +4750,7 @@
"type": "uint32"
}
],
- "id": "libvirt-31"
+ "id": "libvirt-32"
}
{
@@ -4683,7 +4758,7 @@
"arguments": {
"typename": "intel-iommu"
},
- "id": "libvirt-32"
+ "id": "libvirt-33"
}
{
@@ -4722,7 +4797,7 @@
"type": "bool"
}
],
- "id": "libvirt-32"
+ "id": "libvirt-33"
}
{
@@ -4730,7 +4805,7 @@
"arguments": {
"typename": "mch"
},
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
@@ -4773,7 +4848,7 @@
"type": "int32"
}
],
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
@@ -4781,7 +4856,7 @@
"arguments": {
"typename": "nvdimm"
},
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -4815,7 +4890,7 @@
"type": "uint64"
}
],
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -4823,7 +4898,7 @@
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -4884,7 +4959,7 @@
"type": "bool"
}
],
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -4892,7 +4967,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -4952,7 +5027,7 @@
"type": "bool"
}
],
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -4960,7 +5035,7 @@
"arguments": {
"typename": "max-x86_64-cpu"
},
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -6062,12 +6137,12 @@
"type": "bool"
}
],
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
"execute": "query-machines",
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -6286,12 +6361,12 @@
"cpu-max": 255
}
],
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -6810,12 +6885,12 @@
"migration-safe": true
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -6823,12 +6898,12 @@
"tpm-crb",
"tpm-tis"
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
@@ -6836,12 +6911,12 @@
"passthrough",
"emulator"
],
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -8115,12 +8190,12 @@
"option": "drive"
}
],
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
@@ -8190,12 +8265,12 @@
"capability": "late-block-activate"
}
],
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
"execute": "query-qmp-schema",
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
@@ -20380,16 +20455,16 @@
"meta-type": "object"
}
],
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
"execute": "query-sev-capabilities",
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
- "id": "libvirt-45",
+ "id": "libvirt-46",
"error": {
"class": "GenericError",
"desc": "SEV feature is not available"
@@ -20404,7 +20479,7 @@
"name": "host"
}
},
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
@@ -20606,7 +20681,7 @@
}
}
},
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
@@ -20810,7 +20885,7 @@
}
}
},
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
@@ -21085,7 +21160,7 @@
}
}
},
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
@@ -21099,7 +21174,7 @@
}
}
},
- "id": "libvirt-48"
+ "id": "libvirt-49"
}
{
@@ -21301,7 +21376,7 @@
}
}
},
- "id": "libvirt-48"
+ "id": "libvirt-49"
}
{
@@ -21505,7 +21580,7 @@
}
}
},
- "id": "libvirt-49"
+ "id": "libvirt-50"
}
{
@@ -21780,7 +21855,7 @@
}
}
},
- "id": "libvirt-49"
+ "id": "libvirt-50"
}
{
diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.aarch64.replies
b/tests/qemucapabilitiesdata/caps_4.0.0.aarch64.replies
index 91943860b1..58c40ebbf3 100644
--- a/tests/qemucapabilitiesdata/caps_4.0.0.aarch64.replies
+++ b/tests/qemucapabilitiesdata/caps_4.0.0.aarch64.replies
@@ -5380,13 +5380,88 @@
{
"execute": "device-list-properties",
"arguments": {
- "typename": "ICH9-LPC"
+ "typename": "bochs-display"
},
"id": "libvirt-25"
}
{
- "id": "libvirt-25",
+ "return": [
+ {
+ "name": "yres",
+ "type": "uint32"
+ },
+ {
+ "name": "xmax",
+ "type": "uint32"
+ },
+ {
+ "name": "big-endian-framebuffer",
+ "type": "bool"
+ },
+ {
+ "name": "addr",
+ "description": "Slot and optional function number, example: 06.0 or
06",
+ "type": "int32"
+ },
+ {
+ "name": "vgamem",
+ "type": "size"
+ },
+ {
+ "name": "edid",
+ "type": "bool"
+ },
+ {
+ "name": "ymax",
+ "type": "uint32"
+ },
+ {
+ "name": "x-pcie-extcap-init",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "x-pcie-lnksta-dllla",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "command_serr_enable",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "multifunction",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "romfile",
+ "type": "str"
+ },
+ {
+ "name": "rombar",
+ "type": "uint32"
+ },
+ {
+ "name": "xres",
+ "type": "uint32"
+ }
+ ],
+ "id": "libvirt-25"
+}
+
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "ICH9-LPC"
+ },
+ "id": "libvirt-26"
+}
+
+{
+ "id": "libvirt-26",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'ICH9-LPC' not found"
@@ -5398,7 +5473,7 @@
"arguments": {
"typename": "virtio-balloon-pci"
},
- "id": "libvirt-26"
+ "id": "libvirt-27"
}
{
@@ -5550,7 +5625,7 @@
"type": "str"
}
],
- "id": "libvirt-26"
+ "id": "libvirt-27"
}
{
@@ -5558,11 +5633,11 @@
"arguments": {
"typename": "virtio-balloon-ccw"
},
- "id": "libvirt-27"
+ "id": "libvirt-28"
}
{
- "id": "libvirt-27",
+ "id": "libvirt-28",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'virtio-balloon-ccw' not found"
@@ -5574,7 +5649,7 @@
"arguments": {
"typename": "virtio-balloon-device"
},
- "id": "libvirt-28"
+ "id": "libvirt-29"
}
{
@@ -5627,7 +5702,7 @@
"type": "bool"
}
],
- "id": "libvirt-28"
+ "id": "libvirt-29"
}
{
@@ -5635,7 +5710,7 @@
"arguments": {
"typename": "nec-usb-xhci"
},
- "id": "libvirt-29"
+ "id": "libvirt-30"
}
{
@@ -5715,7 +5790,7 @@
"type": "uint32"
}
],
- "id": "libvirt-29"
+ "id": "libvirt-30"
}
{
@@ -5723,7 +5798,7 @@
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-30"
+ "id": "libvirt-31"
}
{
@@ -5788,7 +5863,7 @@
"type": "bool"
}
],
- "id": "libvirt-30"
+ "id": "libvirt-31"
}
{
@@ -5796,7 +5871,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-31"
+ "id": "libvirt-32"
}
{
@@ -5860,12 +5935,12 @@
"type": "bool"
}
],
- "id": "libvirt-31"
+ "id": "libvirt-32"
}
{
"execute": "query-machines",
- "id": "libvirt-32"
+ "id": "libvirt-33"
}
{
@@ -6207,7 +6282,7 @@
"cpu-max": 1
}
],
- "id": "libvirt-32"
+ "id": "libvirt-33"
}
{
@@ -6215,7 +6290,7 @@
"arguments": {
"typename": "virt-4.0-machine"
},
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
@@ -6350,12 +6425,12 @@
"type": "string"
}
],
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -6546,34 +6621,34 @@
"static": false
}
],
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
"return": [
],
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
"return": [
],
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -7721,12 +7796,12 @@
"option": "drive"
}
],
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -7800,12 +7875,12 @@
"capability": "x-ignore-shared"
}
],
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
"execute": "query-qmp-schema",
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -19892,12 +19967,12 @@
]
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
"execute": "query-gic-capabilities",
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -19913,7 +19988,7 @@
"kernel": false
}
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.ppc64.replies
b/tests/qemucapabilitiesdata/caps_4.0.0.ppc64.replies
index baa8f8963d..273265b528 100644
--- a/tests/qemucapabilitiesdata/caps_4.0.0.ppc64.replies
+++ b/tests/qemucapabilitiesdata/caps_4.0.0.ppc64.replies
@@ -5369,13 +5369,88 @@
{
"execute": "device-list-properties",
"arguments": {
- "typename": "ICH9-LPC"
+ "typename": "bochs-display"
},
"id": "libvirt-25"
}
{
- "id": "libvirt-25",
+ "return": [
+ {
+ "name": "yres",
+ "type": "uint32"
+ },
+ {
+ "name": "xmax",
+ "type": "uint32"
+ },
+ {
+ "name": "big-endian-framebuffer",
+ "type": "bool"
+ },
+ {
+ "name": "addr",
+ "description": "Slot and optional function number, example: 06.0 or
06",
+ "type": "int32"
+ },
+ {
+ "name": "vgamem",
+ "type": "size"
+ },
+ {
+ "name": "edid",
+ "type": "bool"
+ },
+ {
+ "name": "ymax",
+ "type": "uint32"
+ },
+ {
+ "name": "x-pcie-extcap-init",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "x-pcie-lnksta-dllla",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "command_serr_enable",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "multifunction",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "romfile",
+ "type": "str"
+ },
+ {
+ "name": "rombar",
+ "type": "uint32"
+ },
+ {
+ "name": "xres",
+ "type": "uint32"
+ }
+ ],
+ "id": "libvirt-25"
+}
+
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "ICH9-LPC"
+ },
+ "id": "libvirt-26"
+}
+
+{
+ "id": "libvirt-26",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'ICH9-LPC' not found"
@@ -5387,7 +5462,7 @@
"arguments": {
"typename": "virtio-balloon-pci"
},
- "id": "libvirt-26"
+ "id": "libvirt-27"
}
{
@@ -5539,7 +5614,7 @@
"type": "str"
}
],
- "id": "libvirt-26"
+ "id": "libvirt-27"
}
{
@@ -5547,11 +5622,11 @@
"arguments": {
"typename": "virtio-balloon-ccw"
},
- "id": "libvirt-27"
+ "id": "libvirt-28"
}
{
- "id": "libvirt-27",
+ "id": "libvirt-28",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'virtio-balloon-ccw' not found"
@@ -5563,7 +5638,7 @@
"arguments": {
"typename": "virtio-balloon-device"
},
- "id": "libvirt-28"
+ "id": "libvirt-29"
}
{
@@ -5616,7 +5691,7 @@
"type": "bool"
}
],
- "id": "libvirt-28"
+ "id": "libvirt-29"
}
{
@@ -5624,7 +5699,7 @@
"arguments": {
"typename": "nec-usb-xhci"
},
- "id": "libvirt-29"
+ "id": "libvirt-30"
}
{
@@ -5704,7 +5779,7 @@
"type": "uint32"
}
],
- "id": "libvirt-29"
+ "id": "libvirt-30"
}
{
@@ -5712,7 +5787,7 @@
"arguments": {
"typename": "spapr-pci-host-bridge"
},
- "id": "libvirt-30"
+ "id": "libvirt-31"
}
{
@@ -5770,7 +5845,7 @@
"type": "uint32"
}
],
- "id": "libvirt-30"
+ "id": "libvirt-31"
}
{
@@ -5778,7 +5853,7 @@
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-31"
+ "id": "libvirt-32"
}
{
@@ -5843,7 +5918,7 @@
"type": "bool"
}
],
- "id": "libvirt-31"
+ "id": "libvirt-32"
}
{
@@ -5851,7 +5926,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-32"
+ "id": "libvirt-33"
}
{
@@ -5915,12 +5990,12 @@
"type": "bool"
}
],
- "id": "libvirt-32"
+ "id": "libvirt-33"
}
{
"execute": "query-machines",
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
@@ -6073,7 +6148,7 @@
"cpu-max": 1
}
],
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
@@ -6081,7 +6156,7 @@
"arguments": {
"typename": "pseries-4.0-machine"
},
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -6280,12 +6355,12 @@
"type": "string"
}
],
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -8481,34 +8556,34 @@
"static": false
}
],
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
"return": [
],
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
"return": [
],
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -9651,12 +9726,12 @@
"option": "drive"
}
],
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -9730,12 +9805,12 @@
"capability": "x-ignore-shared"
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
"execute": "query-qmp-schema",
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -21793,7 +21868,7 @@
]
}
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.riscv32.replies
b/tests/qemucapabilitiesdata/caps_4.0.0.riscv32.replies
index c2ca623a0b..6f57e09f38 100644
--- a/tests/qemucapabilitiesdata/caps_4.0.0.riscv32.replies
+++ b/tests/qemucapabilitiesdata/caps_4.0.0.riscv32.replies
@@ -3554,13 +3554,88 @@
{
"execute": "device-list-properties",
"arguments": {
- "typename": "ICH9-LPC"
+ "typename": "bochs-display"
},
"id": "libvirt-26"
}
{
- "id": "libvirt-26",
+ "return": [
+ {
+ "name": "yres",
+ "type": "uint32"
+ },
+ {
+ "name": "xmax",
+ "type": "uint32"
+ },
+ {
+ "name": "big-endian-framebuffer",
+ "type": "bool"
+ },
+ {
+ "name": "addr",
+ "description": "Slot and optional function number, example: 06.0 or
06",
+ "type": "int32"
+ },
+ {
+ "name": "vgamem",
+ "type": "size"
+ },
+ {
+ "name": "edid",
+ "type": "bool"
+ },
+ {
+ "name": "ymax",
+ "type": "uint32"
+ },
+ {
+ "name": "x-pcie-extcap-init",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "x-pcie-lnksta-dllla",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "command_serr_enable",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "multifunction",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "romfile",
+ "type": "str"
+ },
+ {
+ "name": "rombar",
+ "type": "uint32"
+ },
+ {
+ "name": "xres",
+ "type": "uint32"
+ }
+ ],
+ "id": "libvirt-26"
+}
+
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "ICH9-LPC"
+ },
+ "id": "libvirt-27"
+}
+
+{
+ "id": "libvirt-27",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'ICH9-LPC' not found"
@@ -3572,7 +3647,7 @@
"arguments": {
"typename": "virtio-balloon-pci"
},
- "id": "libvirt-27"
+ "id": "libvirt-28"
}
{
@@ -3724,7 +3799,7 @@
"type": "str"
}
],
- "id": "libvirt-27"
+ "id": "libvirt-28"
}
{
@@ -3732,11 +3807,11 @@
"arguments": {
"typename": "virtio-balloon-ccw"
},
- "id": "libvirt-28"
+ "id": "libvirt-29"
}
{
- "id": "libvirt-28",
+ "id": "libvirt-29",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'virtio-balloon-ccw' not found"
@@ -3748,7 +3823,7 @@
"arguments": {
"typename": "virtio-balloon-device"
},
- "id": "libvirt-29"
+ "id": "libvirt-30"
}
{
@@ -3801,7 +3876,7 @@
"type": "bool"
}
],
- "id": "libvirt-29"
+ "id": "libvirt-30"
}
{
@@ -3809,7 +3884,7 @@
"arguments": {
"typename": "nec-usb-xhci"
},
- "id": "libvirt-30"
+ "id": "libvirt-31"
}
{
@@ -3889,7 +3964,7 @@
"type": "uint32"
}
],
- "id": "libvirt-30"
+ "id": "libvirt-31"
}
{
@@ -3897,7 +3972,7 @@
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-31"
+ "id": "libvirt-32"
}
{
@@ -3962,7 +4037,7 @@
"type": "bool"
}
],
- "id": "libvirt-31"
+ "id": "libvirt-32"
}
{
@@ -3970,7 +4045,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-32"
+ "id": "libvirt-33"
}
{
@@ -4034,12 +4109,12 @@
"type": "bool"
}
],
- "id": "libvirt-32"
+ "id": "libvirt-33"
}
{
"execute": "query-machines",
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
@@ -4076,7 +4151,7 @@
"cpu-max": 1
}
],
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
@@ -4084,7 +4159,7 @@
"arguments": {
"typename": "virt-machine"
},
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -4189,34 +4264,34 @@
"type": "bool"
}
],
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
"return": [
],
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
"return": [
],
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -5488,12 +5563,12 @@
"option": "drive"
}
],
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -5567,12 +5642,12 @@
"capability": "x-ignore-shared"
}
],
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
"execute": "query-qmp-schema",
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -17851,5 +17926,5 @@
]
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.riscv64.replies
b/tests/qemucapabilitiesdata/caps_4.0.0.riscv64.replies
index 0cccbdb4e0..a21bd4837b 100644
--- a/tests/qemucapabilitiesdata/caps_4.0.0.riscv64.replies
+++ b/tests/qemucapabilitiesdata/caps_4.0.0.riscv64.replies
@@ -3554,13 +3554,88 @@
{
"execute": "device-list-properties",
"arguments": {
- "typename": "ICH9-LPC"
+ "typename": "bochs-display"
},
"id": "libvirt-26"
}
{
- "id": "libvirt-26",
+ "return": [
+ {
+ "name": "yres",
+ "type": "uint32"
+ },
+ {
+ "name": "xmax",
+ "type": "uint32"
+ },
+ {
+ "name": "big-endian-framebuffer",
+ "type": "bool"
+ },
+ {
+ "name": "addr",
+ "description": "Slot and optional function number, example: 06.0 or
06",
+ "type": "int32"
+ },
+ {
+ "name": "vgamem",
+ "type": "size"
+ },
+ {
+ "name": "edid",
+ "type": "bool"
+ },
+ {
+ "name": "ymax",
+ "type": "uint32"
+ },
+ {
+ "name": "x-pcie-extcap-init",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "x-pcie-lnksta-dllla",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "command_serr_enable",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "multifunction",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "romfile",
+ "type": "str"
+ },
+ {
+ "name": "rombar",
+ "type": "uint32"
+ },
+ {
+ "name": "xres",
+ "type": "uint32"
+ }
+ ],
+ "id": "libvirt-26"
+}
+
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "ICH9-LPC"
+ },
+ "id": "libvirt-27"
+}
+
+{
+ "id": "libvirt-27",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'ICH9-LPC' not found"
@@ -3572,7 +3647,7 @@
"arguments": {
"typename": "virtio-balloon-pci"
},
- "id": "libvirt-27"
+ "id": "libvirt-28"
}
{
@@ -3724,7 +3799,7 @@
"type": "str"
}
],
- "id": "libvirt-27"
+ "id": "libvirt-28"
}
{
@@ -3732,11 +3807,11 @@
"arguments": {
"typename": "virtio-balloon-ccw"
},
- "id": "libvirt-28"
+ "id": "libvirt-29"
}
{
- "id": "libvirt-28",
+ "id": "libvirt-29",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'virtio-balloon-ccw' not found"
@@ -3748,7 +3823,7 @@
"arguments": {
"typename": "virtio-balloon-device"
},
- "id": "libvirt-29"
+ "id": "libvirt-30"
}
{
@@ -3801,7 +3876,7 @@
"type": "bool"
}
],
- "id": "libvirt-29"
+ "id": "libvirt-30"
}
{
@@ -3809,7 +3884,7 @@
"arguments": {
"typename": "nec-usb-xhci"
},
- "id": "libvirt-30"
+ "id": "libvirt-31"
}
{
@@ -3889,7 +3964,7 @@
"type": "uint32"
}
],
- "id": "libvirt-30"
+ "id": "libvirt-31"
}
{
@@ -3897,7 +3972,7 @@
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-31"
+ "id": "libvirt-32"
}
{
@@ -3962,7 +4037,7 @@
"type": "bool"
}
],
- "id": "libvirt-31"
+ "id": "libvirt-32"
}
{
@@ -3970,7 +4045,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-32"
+ "id": "libvirt-33"
}
{
@@ -4034,12 +4109,12 @@
"type": "bool"
}
],
- "id": "libvirt-32"
+ "id": "libvirt-33"
}
{
"execute": "query-machines",
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
@@ -4076,7 +4151,7 @@
"cpu-max": 1
}
],
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
@@ -4084,7 +4159,7 @@
"arguments": {
"typename": "virt-machine"
},
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -4189,34 +4264,34 @@
"type": "bool"
}
],
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
"return": [
],
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
"return": [
],
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -5488,12 +5563,12 @@
"option": "drive"
}
],
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -5567,12 +5642,12 @@
"capability": "x-ignore-shared"
}
],
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
"execute": "query-qmp-schema",
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -17851,5 +17926,5 @@
]
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.replies
b/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.replies
index b155e2a242..21d0e0a04f 100644
--- a/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.replies
+++ b/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.replies
@@ -4468,11 +4468,86 @@
{
"execute": "device-list-properties",
"arguments": {
- "typename": "ICH9-LPC"
+ "typename": "bochs-display"
},
"id": "libvirt-27"
}
+{
+ "return": [
+ {
+ "name": "yres",
+ "type": "uint32"
+ },
+ {
+ "name": "xmax",
+ "type": "uint32"
+ },
+ {
+ "name": "big-endian-framebuffer",
+ "type": "bool"
+ },
+ {
+ "name": "addr",
+ "description": "Slot and optional function number, example: 06.0 or
06",
+ "type": "int32"
+ },
+ {
+ "name": "vgamem",
+ "type": "size"
+ },
+ {
+ "name": "edid",
+ "type": "bool"
+ },
+ {
+ "name": "ymax",
+ "type": "uint32"
+ },
+ {
+ "name": "x-pcie-extcap-init",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "x-pcie-lnksta-dllla",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "command_serr_enable",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "multifunction",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "romfile",
+ "type": "str"
+ },
+ {
+ "name": "rombar",
+ "type": "uint32"
+ },
+ {
+ "name": "xres",
+ "type": "uint32"
+ }
+ ],
+ "id": "libvirt-27"
+}
+
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "ICH9-LPC"
+ },
+ "id": "libvirt-28"
+}
+
{
"return": [
{
@@ -4566,7 +4641,7 @@
"type": "uint32"
}
],
- "id": "libvirt-27"
+ "id": "libvirt-28"
}
{
@@ -4574,7 +4649,7 @@
"arguments": {
"typename": "virtio-balloon-pci"
},
- "id": "libvirt-28"
+ "id": "libvirt-29"
}
{
@@ -4726,7 +4801,7 @@
"type": "str"
}
],
- "id": "libvirt-28"
+ "id": "libvirt-29"
}
{
@@ -4734,11 +4809,11 @@
"arguments": {
"typename": "virtio-balloon-ccw"
},
- "id": "libvirt-29"
+ "id": "libvirt-30"
}
{
- "id": "libvirt-29",
+ "id": "libvirt-30",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'virtio-balloon-ccw' not found"
@@ -4750,7 +4825,7 @@
"arguments": {
"typename": "virtio-balloon-device"
},
- "id": "libvirt-30"
+ "id": "libvirt-31"
}
{
@@ -4803,7 +4878,7 @@
"type": "bool"
}
],
- "id": "libvirt-30"
+ "id": "libvirt-31"
}
{
@@ -4811,7 +4886,7 @@
"arguments": {
"typename": "nec-usb-xhci"
},
- "id": "libvirt-31"
+ "id": "libvirt-32"
}
{
@@ -4891,7 +4966,7 @@
"type": "uint32"
}
],
- "id": "libvirt-31"
+ "id": "libvirt-32"
}
{
@@ -4899,7 +4974,7 @@
"arguments": {
"typename": "intel-iommu"
},
- "id": "libvirt-32"
+ "id": "libvirt-33"
}
{
@@ -4947,7 +5022,7 @@
"type": "uint8"
}
],
- "id": "libvirt-32"
+ "id": "libvirt-33"
}
{
@@ -4955,7 +5030,7 @@
"arguments": {
"typename": "mch"
},
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
@@ -4998,7 +5073,7 @@
"type": "int32"
}
],
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
@@ -5006,7 +5081,7 @@
"arguments": {
"typename": "nvdimm"
},
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -5040,7 +5115,7 @@
"type": "uint64"
}
],
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -5048,7 +5123,7 @@
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -5113,7 +5188,7 @@
"type": "bool"
}
],
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -5121,7 +5196,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -5185,7 +5260,7 @@
"type": "bool"
}
],
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -5193,7 +5268,7 @@
"arguments": {
"typename": "max-x86_64-cpu"
},
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -6311,12 +6386,12 @@
"type": "bool"
}
],
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
"execute": "query-machines",
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -6535,12 +6610,12 @@
"alias": "q35"
}
],
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -7057,12 +7132,12 @@
"migration-safe": true
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -7070,12 +7145,12 @@
"tpm-crb",
"tpm-tis"
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
@@ -7083,12 +7158,12 @@
"passthrough",
"emulator"
],
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -8370,12 +8445,12 @@
"option": "drive"
}
],
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
@@ -8449,12 +8524,12 @@
"capability": "x-ignore-shared"
}
],
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
"execute": "query-qmp-schema",
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
@@ -20919,16 +20994,16 @@
]
}
],
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
"execute": "query-sev-capabilities",
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
- "id": "libvirt-45",
+ "id": "libvirt-46",
"error": {
"class": "GenericError",
"desc": "SEV feature is not available"
@@ -20943,7 +21018,7 @@
"name": "host"
}
},
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
@@ -21147,7 +21222,7 @@
}
}
},
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
@@ -21353,7 +21428,7 @@
}
}
},
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
@@ -21632,7 +21707,7 @@
}
}
},
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
@@ -21646,7 +21721,7 @@
}
}
},
- "id": "libvirt-48"
+ "id": "libvirt-49"
}
{
@@ -21850,7 +21925,7 @@
}
}
},
- "id": "libvirt-48"
+ "id": "libvirt-49"
}
{
@@ -22056,7 +22131,7 @@
}
}
},
- "id": "libvirt-49"
+ "id": "libvirt-50"
}
{
@@ -22335,7 +22410,7 @@
}
}
},
- "id": "libvirt-49"
+ "id": "libvirt-50"
}
{
diff --git a/tests/qemucapabilitiesdata/caps_4.1.0.x86_64.replies
b/tests/qemucapabilitiesdata/caps_4.1.0.x86_64.replies
index 516e7139bd..b363d5a56e 100644
--- a/tests/qemucapabilitiesdata/caps_4.1.0.x86_64.replies
+++ b/tests/qemucapabilitiesdata/caps_4.1.0.x86_64.replies
@@ -4509,11 +4509,86 @@
{
"execute": "device-list-properties",
"arguments": {
- "typename": "ICH9-LPC"
+ "typename": "bochs-display"
},
"id": "libvirt-27"
}
+{
+ "return": [
+ {
+ "name": "yres",
+ "type": "uint32"
+ },
+ {
+ "name": "xmax",
+ "type": "uint32"
+ },
+ {
+ "name": "big-endian-framebuffer",
+ "type": "bool"
+ },
+ {
+ "name": "addr",
+ "description": "Slot and optional function number, example: 06.0 or
06",
+ "type": "int32"
+ },
+ {
+ "name": "vgamem",
+ "type": "size"
+ },
+ {
+ "name": "edid",
+ "type": "bool"
+ },
+ {
+ "name": "ymax",
+ "type": "uint32"
+ },
+ {
+ "name": "x-pcie-extcap-init",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "x-pcie-lnksta-dllla",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "command_serr_enable",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "multifunction",
+ "description": "on\/off",
+ "type": "bool"
+ },
+ {
+ "name": "romfile",
+ "type": "str"
+ },
+ {
+ "name": "rombar",
+ "type": "uint32"
+ },
+ {
+ "name": "xres",
+ "type": "uint32"
+ }
+ ],
+ "id": "libvirt-27"
+}
+
+{
+ "execute": "device-list-properties",
+ "arguments": {
+ "typename": "ICH9-LPC"
+ },
+ "id": "libvirt-28"
+}
+
{
"return": [
{
@@ -4607,7 +4682,7 @@
"type": "uint32"
}
],
- "id": "libvirt-27"
+ "id": "libvirt-28"
}
{
@@ -4615,7 +4690,7 @@
"arguments": {
"typename": "virtio-balloon-pci"
},
- "id": "libvirt-28"
+ "id": "libvirt-29"
}
{
@@ -4767,7 +4842,7 @@
"type": "bool"
}
],
- "id": "libvirt-28"
+ "id": "libvirt-29"
}
{
@@ -4775,11 +4850,11 @@
"arguments": {
"typename": "virtio-balloon-ccw"
},
- "id": "libvirt-29"
+ "id": "libvirt-30"
}
{
- "id": "libvirt-29",
+ "id": "libvirt-30",
"error": {
"class": "DeviceNotFound",
"desc": "Device 'virtio-balloon-ccw' not found"
@@ -4791,7 +4866,7 @@
"arguments": {
"typename": "virtio-balloon-device"
},
- "id": "libvirt-30"
+ "id": "libvirt-31"
}
{
@@ -4844,7 +4919,7 @@
"type": "bool"
}
],
- "id": "libvirt-30"
+ "id": "libvirt-31"
}
{
@@ -4852,7 +4927,7 @@
"arguments": {
"typename": "nec-usb-xhci"
},
- "id": "libvirt-31"
+ "id": "libvirt-32"
}
{
@@ -4932,7 +5007,7 @@
"type": "uint32"
}
],
- "id": "libvirt-31"
+ "id": "libvirt-32"
}
{
@@ -4940,7 +5015,7 @@
"arguments": {
"typename": "intel-iommu"
},
- "id": "libvirt-32"
+ "id": "libvirt-33"
}
{
@@ -4988,7 +5063,7 @@
"type": "bool"
}
],
- "id": "libvirt-32"
+ "id": "libvirt-33"
}
{
@@ -4996,7 +5071,7 @@
"arguments": {
"typename": "mch"
},
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
@@ -5039,7 +5114,7 @@
"type": "bool"
}
],
- "id": "libvirt-33"
+ "id": "libvirt-34"
}
{
@@ -5047,7 +5122,7 @@
"arguments": {
"typename": "nvdimm"
},
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -5081,7 +5156,7 @@
"type": "int32"
}
],
- "id": "libvirt-34"
+ "id": "libvirt-35"
}
{
@@ -5089,7 +5164,7 @@
"arguments": {
"typename": "memory-backend-file"
},
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -5154,7 +5229,7 @@
"type": "bool"
}
],
- "id": "libvirt-35"
+ "id": "libvirt-36"
}
{
@@ -5162,7 +5237,7 @@
"arguments": {
"typename": "memory-backend-memfd"
},
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -5226,7 +5301,7 @@
"type": "int"
}
],
- "id": "libvirt-36"
+ "id": "libvirt-37"
}
{
@@ -5234,7 +5309,7 @@
"arguments": {
"typename": "max-x86_64-cpu"
},
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
@@ -6360,12 +6435,12 @@
"type": "bool"
}
],
- "id": "libvirt-37"
+ "id": "libvirt-38"
}
{
"execute": "query-machines",
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
@@ -6599,12 +6674,12 @@
"cpu-max": 288
}
],
- "id": "libvirt-38"
+ "id": "libvirt-39"
}
{
"execute": "query-cpu-definitions",
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
@@ -7138,12 +7213,12 @@
"migration-safe": true
}
],
- "id": "libvirt-39"
+ "id": "libvirt-40"
}
{
"execute": "query-tpm-models",
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
@@ -7151,12 +7226,12 @@
"tpm-crb",
"tpm-tis"
],
- "id": "libvirt-40"
+ "id": "libvirt-41"
}
{
"execute": "query-tpm-types",
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
@@ -7164,12 +7239,12 @@
"passthrough",
"emulator"
],
- "id": "libvirt-41"
+ "id": "libvirt-42"
}
{
"execute": "query-command-line-options",
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
@@ -8439,12 +8514,12 @@
"option": "drive"
}
],
- "id": "libvirt-42"
+ "id": "libvirt-43"
}
{
"execute": "query-migrate-capabilities",
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
@@ -8518,12 +8593,12 @@
"capability": "x-ignore-shared"
}
],
- "id": "libvirt-43"
+ "id": "libvirt-44"
}
{
"execute": "query-qmp-schema",
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
@@ -21037,16 +21112,16 @@
]
}
],
- "id": "libvirt-44"
+ "id": "libvirt-45"
}
{
"execute": "query-sev-capabilities",
- "id": "libvirt-45"
+ "id": "libvirt-46"
}
{
- "id": "libvirt-45",
+ "id": "libvirt-46",
"error": {
"class": "GenericError",
"desc": "SEV feature is not available"
@@ -21061,7 +21136,7 @@
"name": "host"
}
},
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
@@ -21267,7 +21342,7 @@
}
}
},
- "id": "libvirt-46"
+ "id": "libvirt-47"
}
{
@@ -21281,7 +21356,7 @@
}
}
},
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
@@ -21487,7 +21562,7 @@
}
}
},
- "id": "libvirt-47"
+ "id": "libvirt-48"
}
{
--
2.20.1