qemu: Move call to virQEMUCapsProbeQMPMachineProps()

We're going to need information about available machine types
when probing machine type properties soon, and that means we
have to change the order we call QMP commands.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Andrea Bolognani 2019-05-16 15:46:58 +02:00
parent 4ad8d620cc
commit 295a42e19f
18 changed files with 829 additions and 829 deletions

View File

@ -4388,10 +4388,10 @@ virQEMUCapsInitQMPMonitor(virQEMUCapsPtr qemuCaps,
return -1;
if (virQEMUCapsProbeQMPDevices(qemuCaps, mon) < 0)
return -1;
if (virQEMUCapsProbeQMPMachineProps(qemuCaps, mon) < 0)
return -1;
if (virQEMUCapsProbeQMPMachineTypes(qemuCaps, mon) < 0)
return -1;
if (virQEMUCapsProbeQMPMachineProps(qemuCaps, mon) < 0)
return -1;
if (virQEMUCapsProbeQMPCPUDefinitions(qemuCaps, mon, false) < 0)
return -1;
if (virQEMUCapsProbeQMPTPM(qemuCaps, mon) < 0)

View File

@ -5330,25 +5330,9 @@
"id": "libvirt-30"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-31"
}
{
"id": "libvirt-31",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-machines",
"id": "libvirt-32"
"id": "libvirt-31"
}
{
@ -5645,9 +5629,25 @@
"cpu-max": 1
}
],
"id": "libvirt-31"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-32"
}
{
"id": "libvirt-32",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-cpu-definitions",
"id": "libvirt-33"

View File

@ -5385,12 +5385,155 @@
"id": "libvirt-31"
}
{
"execute": "query-machines",
"id": "libvirt-32"
}
{
"return": [
{
"hotpluggable-cpus": false,
"name": "ref405ep",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "sam460ex",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "none",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "virtex-ml507",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "powernv",
"cpu-max": 2048
},
{
"hotpluggable-cpus": false,
"name": "ppce500",
"cpu-max": 32
},
{
"hotpluggable-cpus": false,
"name": "mpc8544ds",
"cpu-max": 15
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.12-sxxm",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "bamboo",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "g3beige",
"cpu-max": 1
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.10",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "prep",
"cpu-max": 1
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.11",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.12",
"is-default": true,
"cpu-max": 1024,
"alias": "pseries"
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.9",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "mac99",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.6",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.7",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.8",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.4",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.5",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.2",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "taihu",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.3",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.1",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "40p",
"cpu-max": 1
}
],
"id": "libvirt-32"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-32"
"id": "libvirt-33"
}
{
@ -5551,149 +5694,6 @@
"type": "bool"
}
],
"id": "libvirt-32"
}
{
"execute": "query-machines",
"id": "libvirt-33"
}
{
"return": [
{
"hotpluggable-cpus": false,
"name": "ref405ep",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "sam460ex",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "none",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "virtex-ml507",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "powernv",
"cpu-max": 2048
},
{
"hotpluggable-cpus": false,
"name": "ppce500",
"cpu-max": 32
},
{
"hotpluggable-cpus": false,
"name": "mpc8544ds",
"cpu-max": 15
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.12-sxxm",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "bamboo",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "g3beige",
"cpu-max": 1
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.10",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "prep",
"cpu-max": 1
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.11",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.12",
"is-default": true,
"cpu-max": 1024,
"alias": "pseries"
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.9",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "mac99",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.6",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.7",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.8",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.4",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.5",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.2",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "taihu",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.3",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.1",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "40p",
"cpu-max": 1
}
],
"id": "libvirt-33"
}

View File

@ -3745,25 +3745,9 @@
"id": "libvirt-30"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-31"
}
{
"id": "libvirt-31",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-machines",
"id": "libvirt-32"
"id": "libvirt-31"
}
{
@ -3821,9 +3805,25 @@
"alias": "s390-ccw-virtio"
}
],
"id": "libvirt-31"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-32"
}
{
"id": "libvirt-32",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-cpu-definitions",
"id": "libvirt-33"

View File

@ -4761,25 +4761,9 @@
"id": "libvirt-36"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-37"
}
{
"id": "libvirt-37",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-machines",
"id": "libvirt-38"
"id": "libvirt-37"
}
{
@ -4978,9 +4962,25 @@
"cpu-max": 255
}
],
"id": "libvirt-37"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-38"
}
{
"id": "libvirt-38",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-cpu-definitions",
"id": "libvirt-39"

View File

@ -5465,12 +5465,160 @@
"id": "libvirt-31"
}
{
"execute": "query-machines",
"id": "libvirt-32"
}
{
"return": [
{
"hotpluggable-cpus": false,
"name": "ref405ep",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "sam460ex",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "none",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "virtex-ml507",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "powernv",
"cpu-max": 2048
},
{
"hotpluggable-cpus": false,
"name": "ppce500",
"cpu-max": 32
},
{
"hotpluggable-cpus": false,
"name": "mpc8544ds",
"cpu-max": 15
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.12-sxxm",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "bamboo",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "g3beige",
"cpu-max": 1
},
{
"hotpluggable-cpus": true,
"name": "pseries-3.0",
"is-default": true,
"cpu-max": 1024,
"alias": "pseries"
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.10",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "prep",
"cpu-max": 1
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.11",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.12",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.9",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "mac99",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.6",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.7",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.8",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.4",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.5",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.2",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "taihu",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.3",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.1",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "40p",
"cpu-max": 1
}
],
"id": "libvirt-32"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-32"
"id": "libvirt-33"
}
{
@ -5641,154 +5789,6 @@
"type": "bool"
}
],
"id": "libvirt-32"
}
{
"execute": "query-machines",
"id": "libvirt-33"
}
{
"return": [
{
"hotpluggable-cpus": false,
"name": "ref405ep",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "sam460ex",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "none",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "virtex-ml507",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "powernv",
"cpu-max": 2048
},
{
"hotpluggable-cpus": false,
"name": "ppce500",
"cpu-max": 32
},
{
"hotpluggable-cpus": false,
"name": "mpc8544ds",
"cpu-max": 15
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.12-sxxm",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "bamboo",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "g3beige",
"cpu-max": 1
},
{
"hotpluggable-cpus": true,
"name": "pseries-3.0",
"is-default": true,
"cpu-max": 1024,
"alias": "pseries"
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.10",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "prep",
"cpu-max": 1
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.11",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.12",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.9",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "mac99",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.6",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.7",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.8",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.4",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.5",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.2",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "taihu",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.3",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.1",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "40p",
"cpu-max": 1
}
],
"id": "libvirt-33"
}

View File

@ -1655,25 +1655,9 @@
"id": "libvirt-26"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-27"
}
{
"id": "libvirt-27",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-machines",
"id": "libvirt-28"
"id": "libvirt-27"
}
{
@ -1710,9 +1694,25 @@
"cpu-max": 1
}
],
"id": "libvirt-27"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-28"
}
{
"id": "libvirt-28",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-tpm-models",
"id": "libvirt-29"

View File

@ -1655,25 +1655,9 @@
"id": "libvirt-26"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-27"
}
{
"id": "libvirt-27",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-machines",
"id": "libvirt-28"
"id": "libvirt-27"
}
{
@ -1710,9 +1694,25 @@
"cpu-max": 1
}
],
"id": "libvirt-27"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-28"
}
{
"id": "libvirt-28",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-tpm-models",
"id": "libvirt-29"

View File

@ -3899,25 +3899,9 @@
"id": "libvirt-31"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-32"
}
{
"id": "libvirt-32",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-machines",
"id": "libvirt-33"
"id": "libvirt-32"
}
{
@ -3980,9 +3964,25 @@
"cpu-max": 248
}
],
"id": "libvirt-32"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-33"
}
{
"id": "libvirt-33",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-cpu-definitions",
"id": "libvirt-34"

View File

@ -4892,25 +4892,9 @@
"id": "libvirt-36"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-37"
}
{
"id": "libvirt-37",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-machines",
"id": "libvirt-38"
"id": "libvirt-37"
}
{
@ -5119,9 +5103,25 @@
"cpu-max": 255
}
],
"id": "libvirt-37"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-38"
}
{
"id": "libvirt-38",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-cpu-definitions",
"id": "libvirt-39"

View File

@ -5540,162 +5540,9 @@
"id": "libvirt-31"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-32"
}
{
"return": [
{
"name": "type",
"type": "string"
},
{
"name": "graphics",
"description": "Set on/off to enable/disable graphics emulation",
"type": "bool"
},
{
"name": "phandle-start",
"description": "The first phandle ID we may generate dynamically",
"type": "int"
},
{
"name": "dump-guest-core",
"description": "Include guest memory in a core dump",
"type": "bool"
},
{
"name": "kernel-irqchip",
"description": "Configure KVM in-kernel irqchip",
"type": "on|off|split"
},
{
"name": "accel",
"description": "Accelerator list",
"type": "string"
},
{
"name": "append",
"description": "Linux kernel command line",
"type": "string"
},
{
"name": "dumpdtb",
"description": "Dump current dtb to a file and quit",
"type": "string"
},
{
"name": "memory-encryption",
"description": "Set memory encryption object to use",
"type": "string"
},
{
"name": "igd-passthru",
"description": "Set on/off to enable/disable igd passthrou",
"type": "bool"
},
{
"name": "dt-compatible",
"description": "Overrides the \"compatible\" property of the dt root node",
"type": "string"
},
{
"name": "kernel",
"description": "Linux kernel image file",
"type": "string"
},
{
"name": "usb",
"description": "Set on/off to enable/disable usb",
"type": "bool"
},
{
"name": "suppress-vmdesc",
"description": "Set on to disable self-describing migration",
"type": "bool"
},
{
"name": "dtb",
"description": "Linux kernel device tree file",
"type": "string"
},
{
"name": "firmware",
"description": "Firmware image",
"type": "string"
},
{
"name": "mem-merge",
"description": "Enable/disable memory merge support",
"type": "bool"
},
{
"name": "initrd",
"description": "Linux initial ramdisk file",
"type": "string"
},
{
"name": "enforce-config-section",
"description": "Set on to enforce configuration section migration",
"type": "bool"
},
{
"name": "kvm-shadow-mem",
"description": "KVM shadow MMU size",
"type": "int"
},
{
"name": "cap-hpt-max-page-size",
"description": "Maximum page size for Hash Page Table guests",
"type": "int"
},
{
"name": "cap-dfp",
"description": "Allow Decimal Floating Point (DFP)",
"type": "bool"
},
{
"name": "cap-cfpc",
"description": "Cache Flush on Privilege Change (broken, workaround, fixed)",
"type": "string"
},
{
"name": "cap-ibs",
"description": "Indirect Branch Speculation (broken, fixed-ibs, fixed-ccd)",
"type": "string"
},
{
"name": "cap-sbbc",
"description": "Speculation Barrier Bounds Checking (broken, workaround, fixed)",
"type": "string"
},
{
"name": "cap-vsx",
"description": "Allow Vector Scalar Extensions (VSX)",
"type": "bool"
},
{
"name": "cap-htm",
"description": "Allow Hardware Transactional Memory (HTM)",
"type": "bool"
},
{
"name": "cap-nested-hv",
"description": "Allow Nested KVM-HV",
"type": "bool"
}
],
"id": "libvirt-32"
}
{
"execute": "query-machines",
"id": "libvirt-33"
"id": "libvirt-32"
}
{
@ -5843,6 +5690,159 @@
"cpu-max": 1
}
],
"id": "libvirt-32"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-33"
}
{
"return": [
{
"name": "type",
"type": "string"
},
{
"name": "graphics",
"description": "Set on/off to enable/disable graphics emulation",
"type": "bool"
},
{
"name": "phandle-start",
"description": "The first phandle ID we may generate dynamically",
"type": "int"
},
{
"name": "dump-guest-core",
"description": "Include guest memory in a core dump",
"type": "bool"
},
{
"name": "kernel-irqchip",
"description": "Configure KVM in-kernel irqchip",
"type": "on|off|split"
},
{
"name": "accel",
"description": "Accelerator list",
"type": "string"
},
{
"name": "append",
"description": "Linux kernel command line",
"type": "string"
},
{
"name": "dumpdtb",
"description": "Dump current dtb to a file and quit",
"type": "string"
},
{
"name": "memory-encryption",
"description": "Set memory encryption object to use",
"type": "string"
},
{
"name": "igd-passthru",
"description": "Set on/off to enable/disable igd passthrou",
"type": "bool"
},
{
"name": "dt-compatible",
"description": "Overrides the \"compatible\" property of the dt root node",
"type": "string"
},
{
"name": "kernel",
"description": "Linux kernel image file",
"type": "string"
},
{
"name": "usb",
"description": "Set on/off to enable/disable usb",
"type": "bool"
},
{
"name": "suppress-vmdesc",
"description": "Set on to disable self-describing migration",
"type": "bool"
},
{
"name": "dtb",
"description": "Linux kernel device tree file",
"type": "string"
},
{
"name": "firmware",
"description": "Firmware image",
"type": "string"
},
{
"name": "mem-merge",
"description": "Enable/disable memory merge support",
"type": "bool"
},
{
"name": "initrd",
"description": "Linux initial ramdisk file",
"type": "string"
},
{
"name": "enforce-config-section",
"description": "Set on to enforce configuration section migration",
"type": "bool"
},
{
"name": "kvm-shadow-mem",
"description": "KVM shadow MMU size",
"type": "int"
},
{
"name": "cap-hpt-max-page-size",
"description": "Maximum page size for Hash Page Table guests",
"type": "int"
},
{
"name": "cap-dfp",
"description": "Allow Decimal Floating Point (DFP)",
"type": "bool"
},
{
"name": "cap-cfpc",
"description": "Cache Flush on Privilege Change (broken, workaround, fixed)",
"type": "string"
},
{
"name": "cap-ibs",
"description": "Indirect Branch Speculation (broken, fixed-ibs, fixed-ccd)",
"type": "string"
},
{
"name": "cap-sbbc",
"description": "Speculation Barrier Bounds Checking (broken, workaround, fixed)",
"type": "string"
},
{
"name": "cap-vsx",
"description": "Allow Vector Scalar Extensions (VSX)",
"type": "bool"
},
{
"name": "cap-htm",
"description": "Allow Hardware Transactional Memory (HTM)",
"type": "bool"
},
{
"name": "cap-nested-hv",
"description": "Allow Nested KVM-HV",
"type": "bool"
}
],
"id": "libvirt-33"
}

View File

@ -4955,25 +4955,9 @@
"id": "libvirt-36"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-37"
}
{
"id": "libvirt-37",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-machines",
"id": "libvirt-38"
"id": "libvirt-37"
}
{
@ -5192,9 +5176,25 @@
"cpu-max": 255
}
],
"id": "libvirt-37"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-38"
}
{
"id": "libvirt-38",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-cpu-definitions",
"id": "libvirt-39"

View File

@ -5863,25 +5863,9 @@
"id": "libvirt-31"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-32"
}
{
"id": "libvirt-32",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-machines",
"id": "libvirt-33"
"id": "libvirt-32"
}
{
@ -6223,9 +6207,25 @@
"cpu-max": 1
}
],
"id": "libvirt-32"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-33"
}
{
"id": "libvirt-33",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-cpu-definitions",
"id": "libvirt-34"

View File

@ -5918,12 +5918,170 @@
"id": "libvirt-32"
}
{
"execute": "query-machines",
"id": "libvirt-33"
}
{
"return": [
{
"hotpluggable-cpus": false,
"name": "ref405ep",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "sam460ex",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "none",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "virtex-ml507",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "powernv",
"cpu-max": 2048
},
{
"hotpluggable-cpus": false,
"name": "ppce500",
"cpu-max": 32
},
{
"hotpluggable-cpus": false,
"name": "mpc8544ds",
"cpu-max": 15
},
{
"hotpluggable-cpus": true,
"name": "pseries-3.1",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.12-sxxm",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "bamboo",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "g3beige",
"cpu-max": 1
},
{
"hotpluggable-cpus": true,
"name": "pseries-3.0",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.10",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "prep",
"cpu-max": 1
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.11",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.12",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.9",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "mac99",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.6",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.7",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.8",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.4",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.5",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-4.0",
"is-default": true,
"cpu-max": 1024,
"alias": "pseries"
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.2",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "taihu",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.3",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.1",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "40p",
"cpu-max": 1
}
],
"id": "libvirt-33"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-33"
"id": "libvirt-34"
}
{
@ -6078,164 +6236,6 @@
"type": "bool"
}
],
"id": "libvirt-33"
}
{
"execute": "query-machines",
"id": "libvirt-34"
}
{
"return": [
{
"hotpluggable-cpus": false,
"name": "ref405ep",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "sam460ex",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "none",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "virtex-ml507",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "powernv",
"cpu-max": 2048
},
{
"hotpluggable-cpus": false,
"name": "ppce500",
"cpu-max": 32
},
{
"hotpluggable-cpus": false,
"name": "mpc8544ds",
"cpu-max": 15
},
{
"hotpluggable-cpus": true,
"name": "pseries-3.1",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.12-sxxm",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "bamboo",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "g3beige",
"cpu-max": 1
},
{
"hotpluggable-cpus": true,
"name": "pseries-3.0",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.10",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "prep",
"cpu-max": 1
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.11",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.12",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.9",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "mac99",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.6",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.7",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-2.8",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.4",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.5",
"cpu-max": 1024
},
{
"hotpluggable-cpus": true,
"name": "pseries-4.0",
"is-default": true,
"cpu-max": 1024,
"alias": "pseries"
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.2",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "taihu",
"cpu-max": 1
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.3",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "pseries-2.1",
"cpu-max": 1024
},
{
"hotpluggable-cpus": false,
"name": "40p",
"cpu-max": 1
}
],
"id": "libvirt-34"
}

View File

@ -4037,25 +4037,9 @@
"id": "libvirt-32"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-33"
}
{
"id": "libvirt-33",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-machines",
"id": "libvirt-34"
"id": "libvirt-33"
}
{
@ -4092,9 +4076,25 @@
"cpu-max": 1
}
],
"id": "libvirt-33"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-34"
}
{
"id": "libvirt-34",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-tpm-models",
"id": "libvirt-35"

View File

@ -4037,25 +4037,9 @@
"id": "libvirt-32"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-33"
}
{
"id": "libvirt-33",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-machines",
"id": "libvirt-34"
"id": "libvirt-33"
}
{
@ -4092,9 +4076,25 @@
"cpu-max": 1
}
],
"id": "libvirt-33"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-34"
}
{
"id": "libvirt-34",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-tpm-models",
"id": "libvirt-35"

View File

@ -4202,25 +4202,9 @@
"id": "libvirt-31"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-32"
}
{
"id": "libvirt-32",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-machines",
"id": "libvirt-33"
"id": "libvirt-32"
}
{
@ -4293,9 +4277,25 @@
"cpu-max": 248
}
],
"id": "libvirt-32"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-33"
}
{
"id": "libvirt-33",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-cpu-definitions",
"id": "libvirt-34"

View File

@ -5188,25 +5188,9 @@
"id": "libvirt-36"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-37"
}
{
"id": "libvirt-37",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-machines",
"id": "libvirt-38"
"id": "libvirt-37"
}
{
@ -5425,9 +5409,25 @@
"alias": "q35"
}
],
"id": "libvirt-37"
}
{
"execute": "qom-list-properties",
"arguments": {
"typename": "spapr-machine"
},
"id": "libvirt-38"
}
{
"id": "libvirt-38",
"error": {
"class": "DeviceNotFound",
"desc": "Class 'spapr-machine' not found"
}
}
{
"execute": "query-cpu-definitions",
"id": "libvirt-39"