]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu_capabilities: Introduce QEMU_CAPS_MACHINE_I8042_OPT
authorKamil Szczęk <kamil@szczek.dev>
Mon, 19 Aug 2024 01:17:56 +0000 (01:17 +0000)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 21 Aug 2024 15:10:51 +0000 (17:10 +0200)
This capability tells us whether given QEMU binary supports the
'-machine xxx,i8042=on/off' toggle used to enable/disable PS/2
controller emulation.

A few facts:
- This option was introduced in QEMU 7.0 and defaults to 'on'
- QEMU versions before 7.0 enabled i8042 controller emulation implicitly
- This option (and i8042 controller emulation itself) is only supported
by descendants of the generic PC machine type (e.g. i440fx, q35, etc.)

Signed-off-by: Kamil Szczęk <kamil@szczek.dev>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
24 files changed:
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
tests/qemucapabilitiesdata/caps_5.2.0_x86_64.replies
tests/qemucapabilitiesdata/caps_6.0.0_x86_64.replies
tests/qemucapabilitiesdata/caps_6.1.0_x86_64.replies
tests/qemucapabilitiesdata/caps_6.2.0_x86_64.replies
tests/qemucapabilitiesdata/caps_7.0.0_x86_64.replies
tests/qemucapabilitiesdata/caps_7.0.0_x86_64.xml
tests/qemucapabilitiesdata/caps_7.1.0_x86_64.replies
tests/qemucapabilitiesdata/caps_7.1.0_x86_64.xml
tests/qemucapabilitiesdata/caps_7.2.0_x86_64+hvf.replies
tests/qemucapabilitiesdata/caps_7.2.0_x86_64+hvf.xml
tests/qemucapabilitiesdata/caps_7.2.0_x86_64.replies
tests/qemucapabilitiesdata/caps_7.2.0_x86_64.xml
tests/qemucapabilitiesdata/caps_8.0.0_x86_64.replies
tests/qemucapabilitiesdata/caps_8.0.0_x86_64.xml
tests/qemucapabilitiesdata/caps_8.1.0_x86_64.replies
tests/qemucapabilitiesdata/caps_8.1.0_x86_64.xml
tests/qemucapabilitiesdata/caps_8.2.0_x86_64.replies
tests/qemucapabilitiesdata/caps_8.2.0_x86_64.xml
tests/qemucapabilitiesdata/caps_9.0.0_x86_64.replies
tests/qemucapabilitiesdata/caps_9.0.0_x86_64.xml
tests/qemucapabilitiesdata/caps_9.1.0_x86_64.replies
tests/qemucapabilitiesdata/caps_9.1.0_x86_64.xml

index dd833fb3ff5a71eb4a9d0756bdecc48d90787343..2d53e87ff397d74241de91fca4521bb34253912e 100644 (file)
@@ -714,6 +714,7 @@ VIR_ENUM_IMPL(virQEMUCaps,
               "netdev.user", /* QEMU_CAPS_NETDEV_USER */
               "acpi-erst", /* QEMU_CAPS_DEVICE_ACPI_ERST */
               "intel-iommu.dma-translation", /* QEMU_CAPS_INTEL_IOMMU_DMA_TRANSLATION */
+              "machine-i8042-opt", /* QEMU_CAPS_MACHINE_I8042_OPT */
     );
 
 
@@ -1747,6 +1748,10 @@ static struct virQEMUCapsStringFlags virQEMUCapsMachinePropsGeneric[] = {
     { "confidential-guest-support", QEMU_CAPS_MACHINE_CONFIDENTAL_GUEST_SUPPORT },
 };
 
+static struct virQEMUCapsStringFlags virQEMUCapsMachinePropsGenericPC[] = {
+    { "i8042", QEMU_CAPS_MACHINE_I8042_OPT },
+};
+
 static virQEMUCapsObjectTypeProps virQEMUCapsMachineProps[] = {
     { "pseries", virQEMUCapsMachinePropsPSeries,
       G_N_ELEMENTS(virQEMUCapsMachinePropsPSeries),
@@ -1757,6 +1762,9 @@ static virQEMUCapsObjectTypeProps virQEMUCapsMachineProps[] = {
     { "none", virQEMUCapsMachinePropsGeneric,
       G_N_ELEMENTS(virQEMUCapsMachinePropsGeneric),
       -1 },
+    { "generic-pc", virQEMUCapsMachinePropsGenericPC,
+      G_N_ELEMENTS(virQEMUCapsMachinePropsGenericPC),
+      -1 },
 };
 
 static void
@@ -2893,6 +2901,7 @@ virQEMUCapsProbeQMPMachineProps(virQEMUCaps *qemuCaps,
         g_auto(GStrv) values = NULL;
 
         if (STRNEQ(canon, "none") &&
+            (!ARCH_IS_X86(qemuCaps->arch) || STRNEQ(canon, "generic-pc")) &&
             !virQEMUCapsIsMachineSupported(qemuCaps, virtType, canon)) {
             continue;
         }
@@ -6021,6 +6030,19 @@ virQEMUCapsSupportsI8042(virQEMUCaps *qemuCaps,
         STREQ(def->os.machine, "isapc");
 }
 
+bool
+virQEMUCapsSupportsI8042Toggle(virQEMUCaps *qemuCaps,
+                               const virDomainDef *def)
+{
+    if (!virQEMUCapsGet(qemuCaps, QEMU_CAPS_MACHINE_I8042_OPT))
+        return false;
+
+    return qemuDomainIsI440FX(def) ||
+        qemuDomainIsQ35(def) ||
+        qemuDomainIsXenFV(def) ||
+        STREQ(def->os.machine, "isapc");
+}
+
 
 /*
  * The preferred machine to use if none is listed explicitly
index 659efd9182b8036748e5c0f7eecf963a96eb3be9..9c577c1505ef8c384ccf8c0f5d6daa9732b33ad0 100644 (file)
@@ -693,6 +693,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
     QEMU_CAPS_NETDEV_USER, /* -netdev user */
     QEMU_CAPS_DEVICE_ACPI_ERST, /* -device acpi-erst */
     QEMU_CAPS_INTEL_IOMMU_DMA_TRANSLATION, /* intel-iommu.dma-translation */
+    QEMU_CAPS_MACHINE_I8042_OPT, /* -machine xxx,i8042=on/off; use virQEMUCapsSupportsI8042Toggle() to query this capability */
 
     QEMU_CAPS_LAST /* this must always be the last item */
 } virQEMUCapsFlags;
@@ -721,6 +722,9 @@ bool virQEMUCapsSupportsVmport(virQEMUCaps *qemuCaps,
 bool virQEMUCapsSupportsI8042(virQEMUCaps *qemuCaps,
                               const virDomainDef *def);
 
+bool virQEMUCapsSupportsI8042Toggle(virQEMUCaps *qemuCaps,
+                                    const virDomainDef *def);
+
 const char *virQEMUCapsGetBinary(virQEMUCaps *qemuCaps);
 virArch virQEMUCapsGetArch(virQEMUCaps *qemuCaps);
 unsigned int virQEMUCapsGetVersion(virQEMUCaps *qemuCaps);
index 58ac2c0eaad868146f1c8b441c979e64560b3e7b..3f5405d83e828433cdfb9904b40763c52d6cbdb3 100644 (file)
 }
 
 {
-  "execute": "query-cpu-definitions",
+  "execute": "qom-list-properties",
+  "arguments": {
+    "typename": "generic-pc-machine"
+  },
+  "id": "libvirt-41"
+}
+
+{
+  "return": [
+    {
+      "name": "type",
+      "type": "string"
+    },
+    {
+      "name": "graphics",
+      "description": "Set on/off to enable/disable graphics emulation",
+      "type": "bool"
+    },
+    {
+      "name": "memory-encryption",
+      "description": "Set memory encryption object to use",
+      "type": "string"
+    },
+    {
+      "name": "dtb",
+      "description": "Linux kernel device tree file",
+      "type": "string"
+    },
+    {
+      "name": "usb",
+      "description": "Set on/off to enable/disable usb",
+      "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": "append",
+      "description": "Linux kernel command line",
+      "type": "string"
+    },
+    {
+      "name": "suppress-vmdesc",
+      "description": "Set on to disable self-describing migration",
+      "type": "bool"
+    },
+    {
+      "name": "mem-merge",
+      "description": "Enable/disable memory merge support",
+      "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": "dumpdtb",
+      "description": "Dump current dtb to a file and quit",
+      "type": "string"
+    },
+    {
+      "name": "initrd",
+      "description": "Linux initial ramdisk file",
+      "type": "string"
+    },
+    {
+      "name": "firmware",
+      "description": "Firmware image",
+      "type": "string"
+    },
+    {
+      "name": "memory-backend",
+      "description": "Set RAM backendValid value is ID of hostmem based backend",
+      "type": "string"
+    },
+    {
+      "name": "smm",
+      "description": "Enable SMM",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "acpi",
+      "description": "Enable ACPI",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "smbus",
+      "type": "bool"
+    },
+    {
+      "name": "max-ram-below-4g",
+      "description": "Maximum ram below the 4G boundary (32bit boundary)",
+      "type": "size"
+    },
+    {
+      "name": "pit",
+      "type": "bool"
+    },
+    {
+      "name": "sata",
+      "type": "bool"
+    },
+    {
+      "name": "vmport",
+      "description": "Enable vmport (pc & q35)",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "device-memory-region-size",
+      "type": "int"
+    },
+    {
+      "name": "hpet",
+      "type": "bool"
+    }
+  ],
   "id": "libvirt-41"
 }
 
+{
+  "execute": "query-cpu-definitions",
+  "id": "libvirt-42"
+}
+
 {
   "return": [
     {
       "deprecated": false
     }
   ],
-  "id": "libvirt-41"
+  "id": "libvirt-42"
 }
 
 {
   "execute": "query-tpm-models",
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
     "tpm-crb",
     "tpm-tis"
   ],
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
   "execute": "query-tpm-types",
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
     "passthrough",
     "emulator"
   ],
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
   "execute": "query-command-line-options",
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
       "option": "drive"
     }
   ],
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
   "execute": "query-migrate-capabilities",
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
       "capability": "validate-uuid"
     }
   ],
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
   "execute": "query-sev-capabilities",
-  "id": "libvirt-46"
+  "id": "libvirt-47"
 }
 
 {
-  "id": "libvirt-46",
+  "id": "libvirt-47",
   "error": {
     "class": "GenericError",
     "desc": "SEV is not enabled in KVM"
       "name": "host"
     }
   },
-  "id": "libvirt-47"
+  "id": "libvirt-48"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-47"
+  "id": "libvirt-48"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
index 88948d306a7e7b15fb5742de8fc3ef299253b7eb..5380b322d28761f5f786db8759af61c47b9cd35d 100644 (file)
 }
 
 {
-  "execute": "query-cpu-definitions",
+  "execute": "qom-list-properties",
+  "arguments": {
+    "typename": "generic-pc-machine"
+  },
+  "id": "libvirt-41"
+}
+
+{
+  "return": [
+    {
+      "name": "type",
+      "type": "string"
+    },
+    {
+      "name": "kernel",
+      "description": "Linux kernel image file",
+      "type": "string"
+    },
+    {
+      "name": "dt-compatible",
+      "description": "Overrides the \"compatible\" property of the dt root node",
+      "type": "string"
+    },
+    {
+      "name": "initrd",
+      "description": "Linux initial ramdisk file",
+      "type": "string"
+    },
+    {
+      "name": "confidential-guest-support",
+      "description": "Set confidential guest scheme to support",
+      "type": "link<confidential-guest-support>"
+    },
+    {
+      "name": "graphics",
+      "description": "Set on/off to enable/disable graphics emulation",
+      "type": "bool"
+    },
+    {
+      "name": "usb",
+      "description": "Set on/off to enable/disable usb",
+      "type": "bool"
+    },
+    {
+      "name": "firmware",
+      "description": "Firmware image",
+      "type": "string"
+    },
+    {
+      "name": "memory-encryption",
+      "description": "Set memory encryption object to use",
+      "type": "string"
+    },
+    {
+      "name": "dump-guest-core",
+      "description": "Include guest memory in a core dump",
+      "type": "bool"
+    },
+    {
+      "name": "phandle-start",
+      "description": "The first phandle ID we may generate dynamically",
+      "type": "int"
+    },
+    {
+      "name": "dumpdtb",
+      "description": "Dump current dtb to a file and quit",
+      "type": "string"
+    },
+    {
+      "name": "memory-backend",
+      "description": "Set RAM backendValid value is ID of hostmem based backend",
+      "type": "string"
+    },
+    {
+      "name": "dtb",
+      "description": "Linux kernel device tree file",
+      "type": "string"
+    },
+    {
+      "name": "mem-merge",
+      "description": "Enable/disable memory merge support",
+      "type": "bool"
+    },
+    {
+      "name": "append",
+      "description": "Linux kernel command line",
+      "type": "string"
+    },
+    {
+      "name": "suppress-vmdesc",
+      "description": "Set on to disable self-describing migration",
+      "type": "bool"
+    },
+    {
+      "name": "x-oem-table-id",
+      "description": "Override the default value of field OEM Table ID in ACPI table header.The string may be up to 8 bytes in size",
+      "type": "string"
+    },
+    {
+      "name": "smm",
+      "description": "Enable SMM",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "acpi",
+      "description": "Enable ACPI",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "x-oem-id",
+      "description": "Override the default value of field OEMID in ACPI table header.The string may be up to 6 bytes in size",
+      "type": "string"
+    },
+    {
+      "name": "max-fw-size",
+      "description": "Maximum combined firmware size",
+      "type": "size"
+    },
+    {
+      "name": "device-memory-region-size",
+      "type": "int"
+    },
+    {
+      "name": "sata",
+      "type": "bool"
+    },
+    {
+      "name": "vmport",
+      "description": "Enable vmport (pc & q35)",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "pit",
+      "type": "bool"
+    },
+    {
+      "name": "hpet",
+      "type": "bool"
+    },
+    {
+      "name": "max-ram-below-4g",
+      "description": "Maximum ram below the 4G boundary (32bit boundary)",
+      "type": "size"
+    },
+    {
+      "name": "smbus",
+      "type": "bool"
+    }
+  ],
   "id": "libvirt-41"
 }
 
+{
+  "execute": "query-cpu-definitions",
+  "id": "libvirt-42"
+}
+
 {
   "return": [
     {
       "deprecated": false
     }
   ],
-  "id": "libvirt-41"
+  "id": "libvirt-42"
 }
 
 {
   "execute": "query-tpm-models",
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
     "tpm-crb",
     "tpm-tis"
   ],
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
   "execute": "query-tpm-types",
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
     "passthrough",
     "emulator"
   ],
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
   "execute": "query-command-line-options",
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
       "option": "drive"
     }
   ],
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
   "execute": "query-migrate-capabilities",
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
       "capability": "background-snapshot"
     }
   ],
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
   "execute": "query-sev-capabilities",
-  "id": "libvirt-46"
+  "id": "libvirt-47"
 }
 
 {
     "cert-chain": "AQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAA",
     "pdh": "AQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAA"
   },
-  "id": "libvirt-46"
+  "id": "libvirt-47"
 }
 
 {
       "name": "host"
     }
   },
-  "id": "libvirt-47"
+  "id": "libvirt-48"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-47"
+  "id": "libvirt-48"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
index 5872007954f9a809f51095000a0d59161db5197e..6fb37d63d54bcd05e3a8f061dbfbbb219d9e8c2f 100644 (file)
 }
 
 {
-  "execute": "query-cpu-definitions",
+  "execute": "qom-list-properties",
+  "arguments": {
+    "typename": "generic-pc-machine"
+  },
+  "id": "libvirt-41"
+}
+
+{
+  "return": [
+    {
+      "name": "type",
+      "type": "string"
+    },
+    {
+      "name": "kernel",
+      "description": "Linux kernel image file",
+      "type": "string"
+    },
+    {
+      "name": "dt-compatible",
+      "description": "Overrides the \"compatible\" property of the dt root node",
+      "type": "string"
+    },
+    {
+      "name": "initrd",
+      "description": "Linux initial ramdisk file",
+      "type": "string"
+    },
+    {
+      "name": "confidential-guest-support",
+      "description": "Set confidential guest scheme to support",
+      "type": "link<confidential-guest-support>"
+    },
+    {
+      "name": "graphics",
+      "description": "Set on/off to enable/disable graphics emulation",
+      "type": "bool"
+    },
+    {
+      "name": "usb",
+      "description": "Set on/off to enable/disable usb",
+      "type": "bool"
+    },
+    {
+      "name": "firmware",
+      "description": "Firmware image",
+      "type": "string"
+    },
+    {
+      "name": "memory-encryption",
+      "description": "Set memory encryption object to use",
+      "type": "string"
+    },
+    {
+      "name": "smp",
+      "description": "CPU topology",
+      "type": "SMPConfiguration"
+    },
+    {
+      "name": "dump-guest-core",
+      "description": "Include guest memory in a core dump",
+      "type": "bool"
+    },
+    {
+      "name": "phandle-start",
+      "description": "The first phandle ID we may generate dynamically",
+      "type": "int"
+    },
+    {
+      "name": "dumpdtb",
+      "description": "Dump current dtb to a file and quit",
+      "type": "string"
+    },
+    {
+      "name": "memory-backend",
+      "description": "Set RAM backendValid value is ID of hostmem based backend",
+      "type": "string"
+    },
+    {
+      "name": "dtb",
+      "description": "Linux kernel device tree file",
+      "type": "string"
+    },
+    {
+      "name": "mem-merge",
+      "description": "Enable/disable memory merge support",
+      "type": "bool"
+    },
+    {
+      "name": "append",
+      "description": "Linux kernel command line",
+      "type": "string"
+    },
+    {
+      "name": "suppress-vmdesc",
+      "description": "Set on to disable self-describing migration",
+      "type": "bool"
+    },
+    {
+      "name": "bus-lock-ratelimit",
+      "description": "Set the ratelimit for the bus locks acquired in VMs",
+      "type": "uint64_t"
+    },
+    {
+      "name": "x-oem-table-id",
+      "description": "Override the default value of field OEM Table ID in ACPI table header.The string may be up to 8 bytes in size",
+      "type": "string"
+    },
+    {
+      "name": "smm",
+      "description": "Enable SMM",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "acpi",
+      "description": "Enable ACPI",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "x-oem-id",
+      "description": "Override the default value of field OEMID in ACPI table header.The string may be up to 6 bytes in size",
+      "type": "string"
+    },
+    {
+      "name": "max-fw-size",
+      "description": "Maximum combined firmware size",
+      "type": "size"
+    },
+    {
+      "name": "device-memory-region-size",
+      "type": "int"
+    },
+    {
+      "name": "sata",
+      "type": "bool"
+    },
+    {
+      "name": "vmport",
+      "description": "Enable vmport (pc & q35)",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "pit",
+      "type": "bool"
+    },
+    {
+      "name": "hpet",
+      "type": "bool"
+    },
+    {
+      "name": "default_bus_bypass_iommu",
+      "type": "bool"
+    },
+    {
+      "name": "max-ram-below-4g",
+      "description": "Maximum ram below the 4G boundary (32bit boundary)",
+      "type": "size"
+    },
+    {
+      "name": "smbus",
+      "type": "bool"
+    }
+  ],
   "id": "libvirt-41"
 }
 
+{
+  "execute": "query-cpu-definitions",
+  "id": "libvirt-42"
+}
+
 {
   "return": [
     {
       "deprecated": false
     }
   ],
-  "id": "libvirt-41"
+  "id": "libvirt-42"
 }
 
 {
   "execute": "query-tpm-models",
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
     "tpm-crb",
     "tpm-tis"
   ],
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
   "execute": "query-tpm-types",
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
     "passthrough",
     "emulator"
   ],
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
   "execute": "query-command-line-options",
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
       "option": "drive"
     }
   ],
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
   "execute": "query-migrate-capabilities",
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
       "capability": "background-snapshot"
     }
   ],
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
   "execute": "query-sev-capabilities",
-  "id": "libvirt-46"
+  "id": "libvirt-47"
 }
 
 {
-  "id": "libvirt-46",
+  "id": "libvirt-47",
   "error": {
     "class": "GenericError",
     "desc": "Failed to open /dev/sev: No such file or directory"
       "name": "host"
     }
   },
-  "id": "libvirt-47"
+  "id": "libvirt-48"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-47"
+  "id": "libvirt-48"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
index bd7e1f00a415f9cef0473a58aed320c06e95de52..b2b6bcdf0d9dd423b9e3b8b91dc94a20f179a52e 100644 (file)
 }
 
 {
-  "execute": "query-cpu-definitions",
+  "execute": "qom-list-properties",
+  "arguments": {
+    "typename": "generic-pc-machine"
+  },
   "id": "libvirt-41"
 }
 
+{
+  "return": [
+    {
+      "name": "type",
+      "type": "string"
+    },
+    {
+      "name": "kernel",
+      "description": "Linux kernel image file",
+      "type": "string"
+    },
+    {
+      "name": "dt-compatible",
+      "description": "Overrides the \"compatible\" property of the dt root node",
+      "type": "string"
+    },
+    {
+      "name": "initrd",
+      "description": "Linux initial ramdisk file",
+      "type": "string"
+    },
+    {
+      "name": "confidential-guest-support",
+      "description": "Set confidential guest scheme to support",
+      "type": "link<confidential-guest-support>"
+    },
+    {
+      "name": "graphics",
+      "description": "Set on/off to enable/disable graphics emulation",
+      "type": "bool"
+    },
+    {
+      "name": "usb",
+      "description": "Set on/off to enable/disable usb",
+      "type": "bool"
+    },
+    {
+      "name": "firmware",
+      "description": "Firmware image",
+      "type": "string"
+    },
+    {
+      "name": "memory-encryption",
+      "description": "Set memory encryption object to use",
+      "type": "string"
+    },
+    {
+      "name": "smp",
+      "description": "CPU topology",
+      "type": "SMPConfiguration"
+    },
+    {
+      "name": "dump-guest-core",
+      "description": "Include guest memory in a core dump",
+      "type": "bool"
+    },
+    {
+      "name": "phandle-start",
+      "description": "The first phandle ID we may generate dynamically",
+      "type": "int"
+    },
+    {
+      "name": "dumpdtb",
+      "description": "Dump current dtb to a file and quit",
+      "type": "string"
+    },
+    {
+      "name": "memory-backend",
+      "description": "Set RAM backendValid value is ID of hostmem based backend",
+      "type": "string"
+    },
+    {
+      "name": "dtb",
+      "description": "Linux kernel device tree file",
+      "type": "string"
+    },
+    {
+      "name": "mem-merge",
+      "description": "Enable/disable memory merge support",
+      "type": "bool"
+    },
+    {
+      "name": "append",
+      "description": "Linux kernel command line",
+      "type": "string"
+    },
+    {
+      "name": "suppress-vmdesc",
+      "description": "Set on to disable self-describing migration",
+      "type": "bool"
+    },
+    {
+      "name": "bus-lock-ratelimit",
+      "description": "Set the ratelimit for the bus locks acquired in VMs",
+      "type": "uint64_t"
+    },
+    {
+      "name": "x-oem-table-id",
+      "description": "Override the default value of field OEM Table ID in ACPI table header.The string may be up to 8 bytes in size",
+      "type": "string"
+    },
+    {
+      "name": "smm",
+      "description": "Enable SMM",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "acpi",
+      "description": "Enable ACPI",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "sgx-epc",
+      "description": "SGX EPC device",
+      "type": "SgxEPC"
+    },
+    {
+      "name": "x-oem-id",
+      "description": "Override the default value of field OEMID in ACPI table header.The string may be up to 6 bytes in size",
+      "type": "string"
+    },
+    {
+      "name": "max-fw-size",
+      "description": "Maximum combined firmware size",
+      "type": "size"
+    },
+    {
+      "name": "default-bus-bypass-iommu",
+      "type": "bool"
+    },
+    {
+      "name": "device-memory-region-size",
+      "type": "int"
+    },
+    {
+      "name": "sata",
+      "type": "bool"
+    },
+    {
+      "name": "vmport",
+      "description": "Enable vmport (pc & q35)",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "pit",
+      "type": "bool"
+    },
+    {
+      "name": "hpet",
+      "type": "bool"
+    },
+    {
+      "name": "max-ram-below-4g",
+      "description": "Maximum ram below the 4G boundary (32bit boundary)",
+      "type": "size"
+    },
+    {
+      "name": "smbus",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-41"
+}
+
+{
+  "execute": "query-cpu-definitions",
+  "id": "libvirt-42"
+}
+
 {
   "return": [
     {
       "deprecated": false
     }
   ],
-  "id": "libvirt-41"
+  "id": "libvirt-42"
 }
 
 {
   "execute": "query-tpm-models",
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
     "tpm-crb",
     "tpm-tis"
   ],
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
   "execute": "query-tpm-types",
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
     "passthrough",
     "emulator"
   ],
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
   "execute": "query-command-line-options",
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
       "option": "drive"
     }
   ],
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
   "execute": "query-migrate-capabilities",
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
       "capability": "background-snapshot"
     }
   ],
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
   "execute": "query-sev-capabilities",
-  "id": "libvirt-46"
+  "id": "libvirt-47"
 }
 
 {
-  "id": "libvirt-46",
+  "id": "libvirt-47",
   "error": {
     "class": "GenericError",
     "desc": "SEV: Failed to open /dev/sev: No such file or directory"
 
 {
   "execute": "query-sgx-capabilities",
-  "id": "libvirt-47"
+  "id": "libvirt-48"
 }
 
 {
-  "id": "libvirt-47",
+  "id": "libvirt-48",
   "error": {
     "class": "GenericError",
     "desc": "SGX is not enabled in KVM"
       "name": "host"
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-50"
+  "id": "libvirt-51"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-50"
+  "id": "libvirt-51"
 }
 
 {
index 9c639b3c31c855b5137ceabeb06dc9666e80792f..1ad960c99b968e733595ef74a4623fe29d77aaa7 100644 (file)
 }
 
 {
-  "execute": "query-cpu-definitions",
+  "execute": "qom-list-properties",
+  "arguments": {
+    "typename": "generic-pc-machine"
+  },
+  "id": "libvirt-41"
+}
+
+{
+  "return": [
+    {
+      "name": "type",
+      "type": "string"
+    },
+    {
+      "name": "kernel",
+      "description": "Linux kernel image file",
+      "type": "string"
+    },
+    {
+      "name": "dt-compatible",
+      "description": "Overrides the \"compatible\" property of the dt root node",
+      "type": "string"
+    },
+    {
+      "name": "initrd",
+      "description": "Linux initial ramdisk file",
+      "type": "string"
+    },
+    {
+      "name": "confidential-guest-support",
+      "description": "Set confidential guest scheme to support",
+      "type": "link<confidential-guest-support>"
+    },
+    {
+      "name": "graphics",
+      "description": "Set on/off to enable/disable graphics emulation",
+      "type": "bool"
+    },
+    {
+      "name": "usb",
+      "description": "Set on/off to enable/disable usb",
+      "type": "bool"
+    },
+    {
+      "name": "firmware",
+      "description": "Firmware image",
+      "type": "string"
+    },
+    {
+      "name": "memory-encryption",
+      "description": "Set memory encryption object to use",
+      "type": "string"
+    },
+    {
+      "name": "smp",
+      "description": "CPU topology",
+      "type": "SMPConfiguration"
+    },
+    {
+      "name": "dump-guest-core",
+      "description": "Include guest memory in a core dump",
+      "type": "bool"
+    },
+    {
+      "name": "phandle-start",
+      "description": "The first phandle ID we may generate dynamically",
+      "type": "int"
+    },
+    {
+      "name": "dumpdtb",
+      "description": "Dump current dtb to a file and quit",
+      "type": "string"
+    },
+    {
+      "name": "memory-backend",
+      "description": "Set RAM backendValid value is ID of hostmem based backend",
+      "type": "string"
+    },
+    {
+      "name": "dtb",
+      "description": "Linux kernel device tree file",
+      "type": "string"
+    },
+    {
+      "name": "mem-merge",
+      "description": "Enable/disable memory merge support",
+      "type": "bool"
+    },
+    {
+      "name": "append",
+      "description": "Linux kernel command line",
+      "type": "string"
+    },
+    {
+      "name": "suppress-vmdesc",
+      "description": "Set on to disable self-describing migration",
+      "type": "bool"
+    },
+    {
+      "name": "bus-lock-ratelimit",
+      "description": "Set the ratelimit for the bus locks acquired in VMs",
+      "type": "uint64_t"
+    },
+    {
+      "name": "x-oem-table-id",
+      "description": "Override the default value of field OEM Table ID in ACPI table header.The string may be up to 8 bytes in size",
+      "type": "string"
+    },
+    {
+      "name": "smm",
+      "description": "Enable SMM",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "acpi",
+      "description": "Enable ACPI",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "sgx-epc",
+      "description": "SGX EPC device",
+      "type": "SgxEPC"
+    },
+    {
+      "name": "x-oem-id",
+      "description": "Override the default value of field OEMID in ACPI table header.The string may be up to 6 bytes in size",
+      "type": "string"
+    },
+    {
+      "name": "max-fw-size",
+      "description": "Maximum combined firmware size",
+      "type": "size"
+    },
+    {
+      "name": "default-bus-bypass-iommu",
+      "type": "bool"
+    },
+    {
+      "name": "device-memory-region-size",
+      "type": "int"
+    },
+    {
+      "name": "sata",
+      "description": "Enable/disable Serial ATA bus",
+      "type": "bool"
+    },
+    {
+      "name": "vmport",
+      "description": "Enable vmport (pc & q35)",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "i8042",
+      "type": "bool"
+    },
+    {
+      "name": "pit",
+      "description": "Enable/disable Intel 8254 programmable interval timer emulation",
+      "type": "bool"
+    },
+    {
+      "name": "hpet",
+      "description": "Enable/disable high precision event timer emulation",
+      "type": "bool"
+    },
+    {
+      "name": "smbios-entry-point-type",
+      "description": "SMBIOS Entry Point type [32, 64]",
+      "type": "str"
+    },
+    {
+      "name": "max-ram-below-4g",
+      "description": "Maximum ram below the 4G boundary (32bit boundary)",
+      "type": "size"
+    },
+    {
+      "name": "smbus",
+      "description": "Enable/disable system management bus",
+      "type": "bool"
+    }
+  ],
   "id": "libvirt-41"
 }
 
+{
+  "execute": "query-cpu-definitions",
+  "id": "libvirt-42"
+}
+
 {
   "return": [
     {
       "deprecated": false
     }
   ],
-  "id": "libvirt-41"
+  "id": "libvirt-42"
 }
 
 {
   "execute": "query-tpm-models",
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
     "tpm-crb",
     "tpm-tis"
   ],
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
   "execute": "query-tpm-types",
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
     "passthrough",
     "emulator"
   ],
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
   "execute": "query-command-line-options",
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
       "option": "drive"
     }
   ],
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
   "execute": "query-migrate-capabilities",
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
       "capability": "background-snapshot"
     }
   ],
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
   "execute": "query-sev-capabilities",
-  "id": "libvirt-46"
+  "id": "libvirt-47"
 }
 
 {
-  "id": "libvirt-46",
+  "id": "libvirt-47",
   "error": {
     "class": "GenericError",
     "desc": "SEV: Failed to open /dev/sev: No such file or directory"
 
 {
   "execute": "query-sgx-capabilities",
-  "id": "libvirt-47"
+  "id": "libvirt-48"
 }
 
 {
       }
     ]
   },
-  "id": "libvirt-47"
+  "id": "libvirt-48"
 }
 
 {
       "name": "host"
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-50"
+  "id": "libvirt-51"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-50"
+  "id": "libvirt-51"
 }
 
 {
index fea02f77288c0addb4a621aab5c9d4439e12a95d..23b626aa164b308262d0c670225ce17008f1e542 100644 (file)
   <flag name='usb-mtp'/>
   <flag name='netdev.user'/>
   <flag name='acpi-erst'/>
+  <flag name='machine-i8042-opt'/>
   <version>7000000</version>
   <microcodeVersion>43100243</microcodeVersion>
   <package>v7.0.0</package>
index 302a34fd49a38470ba8cd39a81df6de0ac339a41..cd2116d05a643d06feced427607360b8e9837945 100644 (file)
 }
 
 {
-  "execute": "query-cpu-definitions",
+  "execute": "qom-list-properties",
+  "arguments": {
+    "typename": "generic-pc-machine"
+  },
   "id": "libvirt-41"
 }
 
+{
+  "return": [
+    {
+      "name": "type",
+      "type": "string"
+    },
+    {
+      "name": "kernel",
+      "description": "Linux kernel image file",
+      "type": "string"
+    },
+    {
+      "name": "dt-compatible",
+      "description": "Overrides the \"compatible\" property of the dt root node",
+      "type": "string"
+    },
+    {
+      "name": "boot",
+      "description": "Boot configuration",
+      "type": "BootConfiguration"
+    },
+    {
+      "name": "memory",
+      "description": "Memory size configuration",
+      "type": "MemorySizeConfiguration"
+    },
+    {
+      "name": "initrd",
+      "description": "Linux initial ramdisk file",
+      "type": "string"
+    },
+    {
+      "name": "confidential-guest-support",
+      "description": "Set confidential guest scheme to support",
+      "type": "link<confidential-guest-support>"
+    },
+    {
+      "name": "graphics",
+      "description": "Set on/off to enable/disable graphics emulation",
+      "type": "bool"
+    },
+    {
+      "name": "usb",
+      "description": "Set on/off to enable/disable usb",
+      "type": "bool"
+    },
+    {
+      "name": "firmware",
+      "description": "Firmware image",
+      "type": "string"
+    },
+    {
+      "name": "memory-encryption",
+      "description": "Set memory encryption object to use",
+      "type": "string"
+    },
+    {
+      "name": "smp",
+      "description": "CPU topology",
+      "type": "SMPConfiguration"
+    },
+    {
+      "name": "dump-guest-core",
+      "description": "Include guest memory in a core dump",
+      "type": "bool"
+    },
+    {
+      "name": "phandle-start",
+      "description": "The first phandle ID we may generate dynamically",
+      "type": "int"
+    },
+    {
+      "name": "dumpdtb",
+      "description": "Dump current dtb to a file and quit",
+      "type": "string"
+    },
+    {
+      "name": "memory-backend",
+      "description": "Set RAM backendValid value is ID of hostmem based backend",
+      "type": "link<memory-backend>"
+    },
+    {
+      "name": "dtb",
+      "description": "Linux kernel device tree file",
+      "type": "string"
+    },
+    {
+      "name": "mem-merge",
+      "description": "Enable/disable memory merge support",
+      "type": "bool"
+    },
+    {
+      "name": "append",
+      "description": "Linux kernel command line",
+      "type": "string"
+    },
+    {
+      "name": "suppress-vmdesc",
+      "description": "Set on to disable self-describing migration",
+      "type": "bool"
+    },
+    {
+      "name": "smm",
+      "description": "Enable SMM",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "acpi",
+      "description": "Enable ACPI",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "pit",
+      "description": "Enable i8254 PIT",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "pic",
+      "description": "Enable i8259 PIC",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "x-oem-table-id",
+      "description": "Override the default value of field OEM Table ID in ACPI table header.The string may be up to 8 bytes in size",
+      "type": "string"
+    },
+    {
+      "name": "bus-lock-ratelimit",
+      "description": "Set the ratelimit for the bus locks acquired in VMs",
+      "type": "uint64_t"
+    },
+    {
+      "name": "sgx-epc",
+      "description": "SGX EPC device",
+      "type": "SgxEPC"
+    },
+    {
+      "name": "x-oem-id",
+      "description": "Override the default value of field OEMID in ACPI table header.The string may be up to 6 bytes in size",
+      "type": "string"
+    },
+    {
+      "name": "max-fw-size",
+      "description": "Maximum combined firmware size",
+      "type": "size"
+    },
+    {
+      "name": "default-bus-bypass-iommu",
+      "type": "bool"
+    },
+    {
+      "name": "device-memory-region-size",
+      "type": "int"
+    },
+    {
+      "name": "sata",
+      "description": "Enable/disable Serial ATA bus",
+      "type": "bool"
+    },
+    {
+      "name": "vmport",
+      "description": "Enable vmport (pc & q35)",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "i8042",
+      "type": "bool"
+    },
+    {
+      "name": "hpet",
+      "description": "Enable/disable high precision event timer emulation",
+      "type": "bool"
+    },
+    {
+      "name": "smbios-entry-point-type",
+      "description": "SMBIOS Entry Point type [32, 64]",
+      "type": "str"
+    },
+    {
+      "name": "max-ram-below-4g",
+      "description": "Maximum ram below the 4G boundary (32bit boundary)",
+      "type": "size"
+    },
+    {
+      "name": "smbus",
+      "description": "Enable/disable system management bus",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-41"
+}
+
+{
+  "execute": "query-cpu-definitions",
+  "id": "libvirt-42"
+}
+
 {
   "return": [
     {
       "deprecated": false
     }
   ],
-  "id": "libvirt-41"
+  "id": "libvirt-42"
 }
 
 {
   "execute": "query-tpm-models",
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
     "tpm-crb",
     "tpm-tis"
   ],
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
   "execute": "query-tpm-types",
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
     "passthrough",
     "emulator"
   ],
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
   "execute": "query-command-line-options",
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
       "option": "drive"
     }
   ],
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
   "execute": "query-migrate-capabilities",
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
       "capability": "postcopy-preempt"
     }
   ],
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
   "execute": "query-sev-capabilities",
-  "id": "libvirt-46"
+  "id": "libvirt-47"
 }
 
 {
-  "id": "libvirt-46",
+  "id": "libvirt-47",
   "error": {
     "class": "GenericError",
     "desc": "SEV: Failed to open /dev/sev: No such file or directory"
 
 {
   "execute": "query-sgx-capabilities",
-  "id": "libvirt-47"
+  "id": "libvirt-48"
 }
 
 {
-  "id": "libvirt-47",
+  "id": "libvirt-48",
   "error": {
     "class": "GenericError",
     "desc": "SGX is not enabled in KVM"
       "name": "host"
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-50"
+  "id": "libvirt-51"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-50"
+  "id": "libvirt-51"
 }
 
 {
index 9737e3d083155fd24f3b6ebffb3a771c3c289377..81c4cc474b35886ceae7e153fad33739a62f8b9b 100644 (file)
   <flag name='netdev.user'/>
   <flag name='acpi-erst'/>
   <flag name='intel-iommu.dma-translation'/>
+  <flag name='machine-i8042-opt'/>
   <version>7001000</version>
   <microcodeVersion>43100244</microcodeVersion>
   <package>v7.1.0</package>
index 0cfbbb7aa0a1deda3af32e37b4a3183662f18018..c85be45cd18c06b384bb9b21144f3cea6c14bf56 100644 (file)
 }
 
 {
-  "execute": "query-cpu-definitions",
+  "execute": "qom-list-properties",
+  "arguments": {
+    "typename": "generic-pc-machine"
+  },
   "id": "libvirt-41"
 }
 
+{
+  "return": [
+    {
+      "name": "type",
+      "type": "string"
+    },
+    {
+      "name": "kernel",
+      "description": "Linux kernel image file",
+      "type": "string"
+    },
+    {
+      "name": "dt-compatible",
+      "description": "Overrides the \"compatible\" property of the dt root node",
+      "type": "string"
+    },
+    {
+      "name": "boot",
+      "description": "Boot configuration",
+      "type": "BootConfiguration"
+    },
+    {
+      "name": "memory",
+      "description": "Memory size configuration",
+      "type": "MemorySizeConfiguration"
+    },
+    {
+      "name": "initrd",
+      "description": "Linux initial ramdisk file",
+      "type": "string"
+    },
+    {
+      "name": "confidential-guest-support",
+      "description": "Set confidential guest scheme to support",
+      "type": "link<confidential-guest-support>"
+    },
+    {
+      "name": "graphics",
+      "description": "Set on/off to enable/disable graphics emulation",
+      "type": "bool"
+    },
+    {
+      "name": "usb",
+      "description": "Set on/off to enable/disable usb",
+      "type": "bool"
+    },
+    {
+      "name": "firmware",
+      "description": "Firmware image",
+      "type": "string"
+    },
+    {
+      "name": "memory-encryption",
+      "description": "Set memory encryption object to use",
+      "type": "string"
+    },
+    {
+      "name": "smp",
+      "description": "CPU topology",
+      "type": "SMPConfiguration"
+    },
+    {
+      "name": "dump-guest-core",
+      "description": "Include guest memory in a core dump",
+      "type": "bool"
+    },
+    {
+      "name": "phandle-start",
+      "description": "The first phandle ID we may generate dynamically",
+      "type": "int"
+    },
+    {
+      "name": "dumpdtb",
+      "description": "Dump current dtb to a file and quit",
+      "type": "string"
+    },
+    {
+      "name": "memory-backend",
+      "description": "Set RAM backendValid value is ID of hostmem based backend",
+      "type": "link<memory-backend>"
+    },
+    {
+      "name": "dtb",
+      "description": "Linux kernel device tree file",
+      "type": "string"
+    },
+    {
+      "name": "mem-merge",
+      "description": "Enable/disable memory merge support",
+      "type": "bool"
+    },
+    {
+      "name": "append",
+      "description": "Linux kernel command line",
+      "type": "string"
+    },
+    {
+      "name": "suppress-vmdesc",
+      "description": "Set on to disable self-describing migration",
+      "type": "bool"
+    },
+    {
+      "name": "smm",
+      "description": "Enable SMM",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "acpi",
+      "description": "Enable ACPI",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "pit",
+      "description": "Enable i8254 PIT",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "pic",
+      "description": "Enable i8259 PIC",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "x-oem-table-id",
+      "description": "Override the default value of field OEM Table ID in ACPI table header.The string may be up to 8 bytes in size",
+      "type": "string"
+    },
+    {
+      "name": "bus-lock-ratelimit",
+      "description": "Set the ratelimit for the bus locks acquired in VMs",
+      "type": "uint64_t"
+    },
+    {
+      "name": "sgx-epc",
+      "description": "SGX EPC device",
+      "type": "SgxEPC"
+    },
+    {
+      "name": "x-oem-id",
+      "description": "Override the default value of field OEMID in ACPI table header.The string may be up to 6 bytes in size",
+      "type": "string"
+    },
+    {
+      "name": "max-fw-size",
+      "description": "Maximum combined firmware size",
+      "type": "size"
+    },
+    {
+      "name": "default-bus-bypass-iommu",
+      "type": "bool"
+    },
+    {
+      "name": "device-memory-region-size",
+      "type": "int"
+    },
+    {
+      "name": "sata",
+      "description": "Enable/disable Serial ATA bus",
+      "type": "bool"
+    },
+    {
+      "name": "vmport",
+      "description": "Enable vmport (pc & q35)",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "i8042",
+      "type": "bool"
+    },
+    {
+      "name": "hpet",
+      "description": "Enable/disable high precision event timer emulation",
+      "type": "bool"
+    },
+    {
+      "name": "smbios-entry-point-type",
+      "description": "SMBIOS Entry Point type [32, 64]",
+      "type": "str"
+    },
+    {
+      "name": "max-ram-below-4g",
+      "description": "Maximum ram below the 4G boundary (32bit boundary)",
+      "type": "size"
+    },
+    {
+      "name": "smbus",
+      "description": "Enable/disable system management bus",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-41"
+}
+
+{
+  "execute": "query-cpu-definitions",
+  "id": "libvirt-42"
+}
+
 {
   "return": [
     {
       "deprecated": false
     }
   ],
-  "id": "libvirt-41"
+  "id": "libvirt-42"
 }
 
 {
   "execute": "query-tpm-models",
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
     "tpm-crb",
     "tpm-tis"
   ],
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
   "execute": "query-tpm-types",
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
     "passthrough",
     "emulator"
   ],
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
   "execute": "query-command-line-options",
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
       "option": "drive"
     }
   ],
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
   "execute": "query-migrate-capabilities",
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
       "capability": "postcopy-preempt"
     }
   ],
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
   "execute": "query-sev-capabilities",
-  "id": "libvirt-46"
+  "id": "libvirt-47"
 }
 
 {
-  "id": "libvirt-46",
+  "id": "libvirt-47",
   "error": {
     "class": "GenericError",
     "desc": "SEV: Failed to open /dev/sev: No such file or directory"
 
 {
   "execute": "query-sgx-capabilities",
-  "id": "libvirt-47"
+  "id": "libvirt-48"
 }
 
 {
-  "id": "libvirt-47",
+  "id": "libvirt-48",
   "error": {
     "class": "GenericError",
     "desc": "SGX is not enabled in KVM"
       "name": "host"
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-50"
+  "id": "libvirt-51"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-50"
+  "id": "libvirt-51"
 }
 
 {
index 55dcbf203e98d7c44b0f9174f189d76ede78db18..18d74d6e8c6282a545fc1f374b7e2e2ac072ed7d 100644 (file)
   <flag name='netdev.user'/>
   <flag name='acpi-erst'/>
   <flag name='intel-iommu.dma-translation'/>
+  <flag name='machine-i8042-opt'/>
   <version>7002000</version>
   <microcodeVersion>43100245</microcodeVersion>
   <package>v7.2.0</package>
index 0f4ba1722f7afc8519a309e850d55862883ebfff..4b56adeafa15753f8ba519cacedc4a2c46ff97d6 100644 (file)
 }
 
 {
-  "execute": "query-cpu-definitions",
+  "execute": "qom-list-properties",
+  "arguments": {
+    "typename": "generic-pc-machine"
+  },
   "id": "libvirt-41"
 }
 
+{
+  "return": [
+    {
+      "name": "type",
+      "type": "string"
+    },
+    {
+      "name": "kernel",
+      "description": "Linux kernel image file",
+      "type": "string"
+    },
+    {
+      "name": "dt-compatible",
+      "description": "Overrides the \"compatible\" property of the dt root node",
+      "type": "string"
+    },
+    {
+      "name": "boot",
+      "description": "Boot configuration",
+      "type": "BootConfiguration"
+    },
+    {
+      "name": "memory",
+      "description": "Memory size configuration",
+      "type": "MemorySizeConfiguration"
+    },
+    {
+      "name": "initrd",
+      "description": "Linux initial ramdisk file",
+      "type": "string"
+    },
+    {
+      "name": "confidential-guest-support",
+      "description": "Set confidential guest scheme to support",
+      "type": "link<confidential-guest-support>"
+    },
+    {
+      "name": "graphics",
+      "description": "Set on/off to enable/disable graphics emulation",
+      "type": "bool"
+    },
+    {
+      "name": "usb",
+      "description": "Set on/off to enable/disable usb",
+      "type": "bool"
+    },
+    {
+      "name": "firmware",
+      "description": "Firmware image",
+      "type": "string"
+    },
+    {
+      "name": "memory-encryption",
+      "description": "Set memory encryption object to use",
+      "type": "string"
+    },
+    {
+      "name": "smp",
+      "description": "CPU topology",
+      "type": "SMPConfiguration"
+    },
+    {
+      "name": "dump-guest-core",
+      "description": "Include guest memory in a core dump",
+      "type": "bool"
+    },
+    {
+      "name": "phandle-start",
+      "description": "The first phandle ID we may generate dynamically",
+      "type": "int"
+    },
+    {
+      "name": "dumpdtb",
+      "description": "Dump current dtb to a file and quit",
+      "type": "string"
+    },
+    {
+      "name": "memory-backend",
+      "description": "Set RAM backendValid value is ID of hostmem based backend",
+      "type": "link<memory-backend>"
+    },
+    {
+      "name": "dtb",
+      "description": "Linux kernel device tree file",
+      "type": "string"
+    },
+    {
+      "name": "mem-merge",
+      "description": "Enable/disable memory merge support",
+      "type": "bool"
+    },
+    {
+      "name": "append",
+      "description": "Linux kernel command line",
+      "type": "string"
+    },
+    {
+      "name": "suppress-vmdesc",
+      "description": "Set on to disable self-describing migration",
+      "type": "bool"
+    },
+    {
+      "name": "smm",
+      "description": "Enable SMM",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "acpi",
+      "description": "Enable ACPI",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "pit",
+      "description": "Enable i8254 PIT",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "pic",
+      "description": "Enable i8259 PIC",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "x-oem-table-id",
+      "description": "Override the default value of field OEM Table ID in ACPI table header.The string may be up to 8 bytes in size",
+      "type": "string"
+    },
+    {
+      "name": "bus-lock-ratelimit",
+      "description": "Set the ratelimit for the bus locks acquired in VMs",
+      "type": "uint64_t"
+    },
+    {
+      "name": "sgx-epc",
+      "description": "SGX EPC device",
+      "type": "SgxEPC"
+    },
+    {
+      "name": "x-oem-id",
+      "description": "Override the default value of field OEMID in ACPI table header.The string may be up to 6 bytes in size",
+      "type": "string"
+    },
+    {
+      "name": "max-fw-size",
+      "description": "Maximum combined firmware size",
+      "type": "size"
+    },
+    {
+      "name": "default-bus-bypass-iommu",
+      "type": "bool"
+    },
+    {
+      "name": "device-memory-region-size",
+      "type": "int"
+    },
+    {
+      "name": "sata",
+      "description": "Enable/disable Serial ATA bus",
+      "type": "bool"
+    },
+    {
+      "name": "vmport",
+      "description": "Enable vmport (pc & q35)",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "i8042",
+      "type": "bool"
+    },
+    {
+      "name": "hpet",
+      "description": "Enable/disable high precision event timer emulation",
+      "type": "bool"
+    },
+    {
+      "name": "smbios-entry-point-type",
+      "description": "SMBIOS Entry Point type [32, 64]",
+      "type": "str"
+    },
+    {
+      "name": "max-ram-below-4g",
+      "description": "Maximum ram below the 4G boundary (32bit boundary)",
+      "type": "size"
+    },
+    {
+      "name": "smbus",
+      "description": "Enable/disable system management bus",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-41"
+}
+
+{
+  "execute": "query-cpu-definitions",
+  "id": "libvirt-42"
+}
+
 {
   "return": [
     {
       "deprecated": false
     }
   ],
-  "id": "libvirt-41"
+  "id": "libvirt-42"
 }
 
 {
   "execute": "query-tpm-models",
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
     "tpm-crb",
     "tpm-tis"
   ],
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
   "execute": "query-tpm-types",
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
     "passthrough",
     "emulator"
   ],
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
   "execute": "query-command-line-options",
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
       "option": "drive"
     }
   ],
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
   "execute": "query-migrate-capabilities",
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
       "capability": "postcopy-preempt"
     }
   ],
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
   "execute": "query-sev-capabilities",
-  "id": "libvirt-46"
+  "id": "libvirt-47"
 }
 
 {
-  "id": "libvirt-46",
+  "id": "libvirt-47",
   "error": {
     "class": "GenericError",
     "desc": "SEV: Failed to open /dev/sev: No such file or directory"
 
 {
   "execute": "query-sgx-capabilities",
-  "id": "libvirt-47"
+  "id": "libvirt-48"
 }
 
 {
-  "id": "libvirt-47",
+  "id": "libvirt-48",
   "error": {
     "class": "GenericError",
     "desc": "SGX is not enabled in KVM"
       "name": "host"
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-50"
+  "id": "libvirt-51"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-50"
+  "id": "libvirt-51"
 }
 
 {
index 1253c860eea73c041fbb5b6dd07607bd80365bb7..fb52a30f04f418ccfada1355ff812fa995568f80 100644 (file)
   <flag name='netdev.user'/>
   <flag name='acpi-erst'/>
   <flag name='intel-iommu.dma-translation'/>
+  <flag name='machine-i8042-opt'/>
   <version>7002000</version>
   <microcodeVersion>43100245</microcodeVersion>
   <package>v7.2.0</package>
index fc5aab3828072b77ab0cae3625d279dd234f8a54..4cad3763885e05e163ff7424448cb8416df96e31 100644 (file)
 }
 
 {
-  "execute": "query-cpu-definitions",
+  "execute": "qom-list-properties",
+  "arguments": {
+    "typename": "generic-pc-machine"
+  },
   "id": "libvirt-41"
 }
 
+{
+  "return": [
+    {
+      "name": "type",
+      "type": "string"
+    },
+    {
+      "name": "kernel",
+      "description": "Linux kernel image file",
+      "type": "string"
+    },
+    {
+      "name": "dt-compatible",
+      "description": "Overrides the \"compatible\" property of the dt root node",
+      "type": "string"
+    },
+    {
+      "name": "boot",
+      "description": "Boot configuration",
+      "type": "BootConfiguration"
+    },
+    {
+      "name": "memory",
+      "description": "Memory size configuration",
+      "type": "MemorySizeConfiguration"
+    },
+    {
+      "name": "initrd",
+      "description": "Linux initial ramdisk file",
+      "type": "string"
+    },
+    {
+      "name": "confidential-guest-support",
+      "description": "Set confidential guest scheme to support",
+      "type": "link<confidential-guest-support>"
+    },
+    {
+      "name": "graphics",
+      "description": "Set on/off to enable/disable graphics emulation",
+      "type": "bool"
+    },
+    {
+      "name": "usb",
+      "description": "Set on/off to enable/disable usb",
+      "type": "bool"
+    },
+    {
+      "name": "firmware",
+      "description": "Firmware image",
+      "type": "string"
+    },
+    {
+      "name": "memory-encryption",
+      "description": "Set memory encryption object to use",
+      "type": "string"
+    },
+    {
+      "name": "smp",
+      "description": "CPU topology",
+      "type": "SMPConfiguration"
+    },
+    {
+      "name": "dump-guest-core",
+      "description": "Include guest memory in a core dump",
+      "type": "bool"
+    },
+    {
+      "name": "phandle-start",
+      "description": "The first phandle ID we may generate dynamically",
+      "type": "int"
+    },
+    {
+      "name": "dumpdtb",
+      "description": "Dump current dtb to a file and quit",
+      "type": "string"
+    },
+    {
+      "name": "memory-backend",
+      "description": "Set RAM backendValid value is ID of hostmem based backend",
+      "type": "link<memory-backend>"
+    },
+    {
+      "name": "dtb",
+      "description": "Linux kernel device tree file",
+      "type": "string"
+    },
+    {
+      "name": "mem-merge",
+      "description": "Enable/disable memory merge support",
+      "type": "bool"
+    },
+    {
+      "name": "append",
+      "description": "Linux kernel command line",
+      "type": "string"
+    },
+    {
+      "name": "suppress-vmdesc",
+      "description": "Set on to disable self-describing migration",
+      "type": "bool"
+    },
+    {
+      "name": "smm",
+      "description": "Enable SMM",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "acpi",
+      "description": "Enable ACPI",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "pit",
+      "description": "Enable i8254 PIT",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "pic",
+      "description": "Enable i8259 PIC",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "x-oem-table-id",
+      "description": "Override the default value of field OEM Table ID in ACPI table header.The string may be up to 8 bytes in size",
+      "type": "string"
+    },
+    {
+      "name": "bus-lock-ratelimit",
+      "description": "Set the ratelimit for the bus locks acquired in VMs",
+      "type": "uint64_t"
+    },
+    {
+      "name": "sgx-epc",
+      "description": "SGX EPC device",
+      "type": "SgxEPC"
+    },
+    {
+      "name": "x-oem-id",
+      "description": "Override the default value of field OEMID in ACPI table header.The string may be up to 6 bytes in size",
+      "type": "string"
+    },
+    {
+      "name": "max-fw-size",
+      "description": "Maximum combined firmware size",
+      "type": "size"
+    },
+    {
+      "name": "default-bus-bypass-iommu",
+      "type": "bool"
+    },
+    {
+      "name": "device-memory-region-size",
+      "type": "int"
+    },
+    {
+      "name": "sata",
+      "description": "Enable/disable Serial ATA bus",
+      "type": "bool"
+    },
+    {
+      "name": "vmport",
+      "description": "Enable vmport (pc & q35)",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "i8042",
+      "type": "bool"
+    },
+    {
+      "name": "hpet",
+      "description": "Enable/disable high precision event timer emulation",
+      "type": "bool"
+    },
+    {
+      "name": "smbios-entry-point-type",
+      "description": "SMBIOS Entry Point type [32, 64]",
+      "type": "str"
+    },
+    {
+      "name": "max-ram-below-4g",
+      "description": "Maximum ram below the 4G boundary (32bit boundary)",
+      "type": "size"
+    },
+    {
+      "name": "smbus",
+      "description": "Enable/disable system management bus",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-41"
+}
+
+{
+  "execute": "query-cpu-definitions",
+  "id": "libvirt-42"
+}
+
 {
   "return": [
     {
       "deprecated": false
     }
   ],
-  "id": "libvirt-41"
+  "id": "libvirt-42"
 }
 
 {
   "execute": "query-tpm-models",
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
     "tpm-crb",
     "tpm-tis"
   ],
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
   "execute": "query-tpm-types",
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
     "passthrough",
     "emulator"
   ],
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
   "execute": "query-command-line-options",
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
       "option": "drive"
     }
   ],
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
   "execute": "query-migrate-capabilities",
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
       "capability": "postcopy-preempt"
     }
   ],
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
   "execute": "query-sev-capabilities",
-  "id": "libvirt-46"
+  "id": "libvirt-47"
 }
 
 {
-  "id": "libvirt-46",
+  "id": "libvirt-47",
   "error": {
     "class": "GenericError",
     "desc": "SEV: Failed to open /dev/sev: No such file or directory"
 
 {
   "execute": "query-sgx-capabilities",
-  "id": "libvirt-47"
+  "id": "libvirt-48"
 }
 
 {
-  "id": "libvirt-47",
+  "id": "libvirt-48",
   "error": {
     "class": "GenericError",
     "desc": "SGX is not enabled in KVM"
       "name": "host"
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-50"
+  "id": "libvirt-51"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-50"
+  "id": "libvirt-51"
 }
 
 {
index d3901fef053efbfbd4a46957fe80c61bebee9f01..91a4ca7f4a10f6d05f93f7571cf9c32dbb9d0ce8 100644 (file)
   <flag name='netdev.user'/>
   <flag name='acpi-erst'/>
   <flag name='intel-iommu.dma-translation'/>
+  <flag name='machine-i8042-opt'/>
   <version>8000000</version>
   <microcodeVersion>43100244</microcodeVersion>
   <package>v8.0.0</package>
index 3972c34b481946ee7c426b907937ab341097c9d1..888a5d3b6adab4a1f325aa7b00eefa508a06eb24 100644 (file)
 }
 
 {
-  "execute": "query-cpu-definitions",
+  "execute": "qom-list-properties",
+  "arguments": {
+    "typename": "generic-pc-machine"
+  },
+  "id": "libvirt-41"
+}
+
+{
+  "return": [
+    {
+      "name": "type",
+      "type": "string"
+    },
+    {
+      "name": "kernel",
+      "description": "Linux kernel image file",
+      "type": "string"
+    },
+    {
+      "name": "dt-compatible",
+      "description": "Overrides the \"compatible\" property of the dt root node",
+      "type": "string"
+    },
+    {
+      "name": "boot",
+      "description": "Boot configuration",
+      "type": "BootConfiguration"
+    },
+    {
+      "name": "memory",
+      "description": "Memory size configuration",
+      "type": "MemorySizeConfiguration"
+    },
+    {
+      "name": "initrd",
+      "description": "Linux initial ramdisk file",
+      "type": "string"
+    },
+    {
+      "name": "confidential-guest-support",
+      "description": "Set confidential guest scheme to support",
+      "type": "link<confidential-guest-support>"
+    },
+    {
+      "name": "graphics",
+      "description": "Set on/off to enable/disable graphics emulation",
+      "type": "bool"
+    },
+    {
+      "name": "usb",
+      "description": "Set on/off to enable/disable usb",
+      "type": "bool"
+    },
+    {
+      "name": "firmware",
+      "description": "Firmware image",
+      "type": "string"
+    },
+    {
+      "name": "memory-encryption",
+      "description": "Set memory encryption object to use",
+      "type": "string"
+    },
+    {
+      "name": "smp",
+      "description": "CPU topology",
+      "type": "SMPConfiguration"
+    },
+    {
+      "name": "dump-guest-core",
+      "description": "Include guest memory in a core dump",
+      "type": "bool"
+    },
+    {
+      "name": "phandle-start",
+      "description": "The first phandle ID we may generate dynamically",
+      "type": "int"
+    },
+    {
+      "name": "dumpdtb",
+      "description": "Dump current dtb to a file and quit",
+      "type": "string"
+    },
+    {
+      "name": "memory-backend",
+      "description": "Set RAM backendValid value is ID of hostmem based backend",
+      "type": "link<memory-backend>"
+    },
+    {
+      "name": "dtb",
+      "description": "Linux kernel device tree file",
+      "type": "string"
+    },
+    {
+      "name": "mem-merge",
+      "description": "Enable/disable memory merge support",
+      "type": "bool"
+    },
+    {
+      "name": "append",
+      "description": "Linux kernel command line",
+      "type": "string"
+    },
+    {
+      "name": "suppress-vmdesc",
+      "description": "Set on to disable self-describing migration",
+      "type": "bool"
+    },
+    {
+      "name": "smm",
+      "description": "Enable SMM",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "acpi",
+      "description": "Enable ACPI",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "pit",
+      "description": "Enable i8254 PIT",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "pic",
+      "description": "Enable i8259 PIC",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "x-oem-table-id",
+      "description": "Override the default value of field OEM Table ID in ACPI table header.The string may be up to 8 bytes in size",
+      "type": "string"
+    },
+    {
+      "name": "bus-lock-ratelimit",
+      "description": "Set the ratelimit for the bus locks acquired in VMs",
+      "type": "uint64_t"
+    },
+    {
+      "name": "sgx-epc",
+      "description": "SGX EPC device",
+      "type": "SgxEPC"
+    },
+    {
+      "name": "x-oem-id",
+      "description": "Override the default value of field OEMID in ACPI table header.The string may be up to 6 bytes in size",
+      "type": "string"
+    },
+    {
+      "name": "max-fw-size",
+      "description": "Maximum combined firmware size",
+      "type": "size"
+    },
+    {
+      "name": "default-bus-bypass-iommu",
+      "type": "bool"
+    },
+    {
+      "name": "sata",
+      "description": "Enable/disable Serial ATA bus",
+      "type": "bool"
+    },
+    {
+      "name": "vmport",
+      "description": "Enable vmport (pc & q35)",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "i8042",
+      "type": "bool"
+    },
+    {
+      "name": "hpet",
+      "description": "Enable/disable high precision event timer emulation",
+      "type": "bool"
+    },
+    {
+      "name": "smbios-entry-point-type",
+      "description": "SMBIOS Entry Point type [32, 64]",
+      "type": "str"
+    },
+    {
+      "name": "max-ram-below-4g",
+      "description": "Maximum ram below the 4G boundary (32bit boundary)",
+      "type": "size"
+    },
+    {
+      "name": "smbus",
+      "description": "Enable/disable system management bus",
+      "type": "bool"
+    }
+  ],
   "id": "libvirt-41"
 }
 
+{
+  "execute": "query-cpu-definitions",
+  "id": "libvirt-42"
+}
+
 {
   "return": [
     {
       "deprecated": false
     }
   ],
-  "id": "libvirt-41"
+  "id": "libvirt-42"
 }
 
 {
   "execute": "query-tpm-models",
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
     "tpm-crb",
     "tpm-tis"
   ],
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
   "execute": "query-tpm-types",
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
     "passthrough",
     "emulator"
   ],
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
   "execute": "query-command-line-options",
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
       "option": "drive"
     }
   ],
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
   "execute": "query-migrate-capabilities",
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
       "capability": "dirty-limit"
     }
   ],
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
   "execute": "query-sev-capabilities",
-  "id": "libvirt-46"
+  "id": "libvirt-47"
 }
 
 {
-  "id": "libvirt-46",
+  "id": "libvirt-47",
   "error": {
     "class": "GenericError",
     "desc": "SEV: Failed to open /dev/sev: No such file or directory"
 
 {
   "execute": "query-sgx-capabilities",
-  "id": "libvirt-47"
+  "id": "libvirt-48"
 }
 
 {
-  "id": "libvirt-47",
+  "id": "libvirt-48",
   "error": {
     "class": "GenericError",
     "desc": "SGX is not enabled in KVM"
       "name": "host"
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-50"
+  "id": "libvirt-51"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-50"
+  "id": "libvirt-51"
 }
 
 {
index f8a9993edef64661012be4307ac72abcf0be49bc..a792c0e365bb7a48ada56d127b702f1d541b8b3b 100644 (file)
   <flag name='netdev.user'/>
   <flag name='acpi-erst'/>
   <flag name='intel-iommu.dma-translation'/>
+  <flag name='machine-i8042-opt'/>
   <version>8001000</version>
   <microcodeVersion>43100245</microcodeVersion>
   <package>v8.1.0</package>
index cc2190dfd3ae368a9793993f563ef5788fb008bf..33e4978c3844fb72955f0f78d1c8f61431bc4e6c 100644 (file)
 }
 
 {
-  "execute": "query-cpu-definitions",
+  "execute": "qom-list-properties",
+  "arguments": {
+    "typename": "generic-pc-machine"
+  },
+  "id": "libvirt-41"
+}
+
+{
+  "return": [
+    {
+      "name": "type",
+      "type": "string"
+    },
+    {
+      "name": "kernel",
+      "description": "Linux kernel image file",
+      "type": "string"
+    },
+    {
+      "name": "dt-compatible",
+      "description": "Overrides the \"compatible\" property of the dt root node",
+      "type": "string"
+    },
+    {
+      "name": "boot",
+      "description": "Boot configuration",
+      "type": "BootConfiguration"
+    },
+    {
+      "name": "memory",
+      "description": "Memory size configuration",
+      "type": "MemorySizeConfiguration"
+    },
+    {
+      "name": "initrd",
+      "description": "Linux initial ramdisk file",
+      "type": "string"
+    },
+    {
+      "name": "confidential-guest-support",
+      "description": "Set confidential guest scheme to support",
+      "type": "link<confidential-guest-support>"
+    },
+    {
+      "name": "graphics",
+      "description": "Set on/off to enable/disable graphics emulation",
+      "type": "bool"
+    },
+    {
+      "name": "usb",
+      "description": "Set on/off to enable/disable usb",
+      "type": "bool"
+    },
+    {
+      "name": "firmware",
+      "description": "Firmware image",
+      "type": "string"
+    },
+    {
+      "name": "memory-encryption",
+      "description": "Set memory encryption object to use",
+      "type": "string"
+    },
+    {
+      "name": "smp",
+      "description": "CPU topology",
+      "type": "SMPConfiguration"
+    },
+    {
+      "name": "dump-guest-core",
+      "description": "Include guest memory in a core dump",
+      "type": "bool"
+    },
+    {
+      "name": "phandle-start",
+      "description": "The first phandle ID we may generate dynamically",
+      "type": "int"
+    },
+    {
+      "name": "dumpdtb",
+      "description": "Dump current dtb to a file and quit",
+      "type": "string"
+    },
+    {
+      "name": "memory-backend",
+      "description": "Set RAM backendValid value is ID of hostmem based backend",
+      "type": "link<memory-backend>"
+    },
+    {
+      "name": "dtb",
+      "description": "Linux kernel device tree file",
+      "type": "string"
+    },
+    {
+      "name": "mem-merge",
+      "description": "Enable/disable memory merge support",
+      "type": "bool"
+    },
+    {
+      "name": "append",
+      "description": "Linux kernel command line",
+      "type": "string"
+    },
+    {
+      "name": "suppress-vmdesc",
+      "description": "Set on to disable self-describing migration",
+      "type": "bool"
+    },
+    {
+      "name": "smm",
+      "description": "Enable SMM",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "acpi",
+      "description": "Enable ACPI",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "pit",
+      "description": "Enable i8254 PIT",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "pic",
+      "description": "Enable i8259 PIC",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "x-oem-table-id",
+      "description": "Override the default value of field OEM Table ID in ACPI table header.The string may be up to 8 bytes in size",
+      "type": "string"
+    },
+    {
+      "name": "bus-lock-ratelimit",
+      "description": "Set the ratelimit for the bus locks acquired in VMs",
+      "type": "uint64_t"
+    },
+    {
+      "name": "sgx-epc",
+      "description": "SGX EPC device",
+      "type": "SgxEPC"
+    },
+    {
+      "name": "x-oem-id",
+      "description": "Override the default value of field OEMID in ACPI table header.The string may be up to 6 bytes in size",
+      "type": "string"
+    },
+    {
+      "name": "max-fw-size",
+      "description": "Maximum combined firmware size",
+      "type": "size"
+    },
+    {
+      "name": "default-bus-bypass-iommu",
+      "type": "bool"
+    },
+    {
+      "name": "sata",
+      "description": "Enable/disable Serial ATA bus",
+      "type": "bool"
+    },
+    {
+      "name": "vmport",
+      "description": "Enable vmport (pc & q35)",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "i8042",
+      "type": "bool"
+    },
+    {
+      "name": "hpet",
+      "description": "Enable/disable high precision event timer emulation",
+      "type": "bool"
+    },
+    {
+      "name": "smbios-entry-point-type",
+      "description": "SMBIOS Entry Point type [32, 64]",
+      "type": "str"
+    },
+    {
+      "name": "max-ram-below-4g",
+      "description": "Maximum ram below the 4G boundary (32bit boundary)",
+      "type": "size"
+    },
+    {
+      "name": "smbus",
+      "description": "Enable/disable system management bus",
+      "type": "bool"
+    }
+  ],
   "id": "libvirt-41"
 }
 
+{
+  "execute": "query-cpu-definitions",
+  "id": "libvirt-42"
+}
+
 {
   "return": [
     {
       "deprecated": false
     }
   ],
-  "id": "libvirt-41"
+  "id": "libvirt-42"
 }
 
 {
   "execute": "query-tpm-models",
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
     "tpm-crb",
     "tpm-tis"
   ],
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
   "execute": "query-tpm-types",
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
     "passthrough",
     "emulator"
   ],
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
   "execute": "query-command-line-options",
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
       "option": "drive"
     }
   ],
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
   "execute": "query-migrate-capabilities",
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
       "capability": "dirty-limit"
     }
   ],
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
   "execute": "query-sev-capabilities",
-  "id": "libvirt-46"
+  "id": "libvirt-47"
 }
 
 {
-  "id": "libvirt-46",
+  "id": "libvirt-47",
   "error": {
     "class": "GenericError",
     "desc": "SEV: Failed to open /dev/sev: No such file or directory"
 
 {
   "execute": "query-sgx-capabilities",
-  "id": "libvirt-47"
+  "id": "libvirt-48"
 }
 
 {
-  "id": "libvirt-47",
+  "id": "libvirt-48",
   "error": {
     "class": "GenericError",
     "desc": "SGX is not enabled in KVM"
       "name": "host"
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-50"
+  "id": "libvirt-51"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-50"
+  "id": "libvirt-51"
 }
 
 {
index 43d7105c2d837f2df81724e10eb74987090f77b4..c049500cbc0ceeceaacfbd3f3a145e607cf87fa9 100644 (file)
   <flag name='netdev.user'/>
   <flag name='acpi-erst'/>
   <flag name='intel-iommu.dma-translation'/>
+  <flag name='machine-i8042-opt'/>
   <version>8002000</version>
   <microcodeVersion>43100246</microcodeVersion>
   <package>v8.2.0</package>
index 5d36853ce33da537192d4b972668a900ea44f250..89fefb863be144ef3334fa8f8c3f7e423ba202a4 100644 (file)
 }
 
 {
-  "execute": "query-cpu-definitions",
+  "execute": "qom-list-properties",
+  "arguments": {
+    "typename": "generic-pc-machine"
+  },
   "id": "libvirt-41"
 }
 
+{
+  "return": [
+    {
+      "name": "type",
+      "type": "string"
+    },
+    {
+      "name": "kernel",
+      "description": "Linux kernel image file",
+      "type": "string"
+    },
+    {
+      "name": "dt-compatible",
+      "description": "Overrides the \"compatible\" property of the dt root node",
+      "type": "string"
+    },
+    {
+      "name": "boot",
+      "description": "Boot configuration",
+      "type": "BootConfiguration"
+    },
+    {
+      "name": "memory",
+      "description": "Memory size configuration",
+      "type": "MemorySizeConfiguration"
+    },
+    {
+      "name": "initrd",
+      "description": "Linux initial ramdisk file",
+      "type": "string"
+    },
+    {
+      "name": "confidential-guest-support",
+      "description": "Set confidential guest scheme to support",
+      "type": "link<confidential-guest-support>"
+    },
+    {
+      "name": "graphics",
+      "description": "Set on/off to enable/disable graphics emulation",
+      "type": "bool"
+    },
+    {
+      "name": "usb",
+      "description": "Set on/off to enable/disable usb",
+      "type": "bool"
+    },
+    {
+      "name": "firmware",
+      "description": "Firmware image",
+      "type": "string"
+    },
+    {
+      "name": "memory-encryption",
+      "description": "Set memory encryption object to use",
+      "type": "string"
+    },
+    {
+      "name": "smp",
+      "description": "CPU topology",
+      "type": "SMPConfiguration"
+    },
+    {
+      "name": "dump-guest-core",
+      "description": "Include guest memory in a core dump",
+      "type": "bool"
+    },
+    {
+      "name": "phandle-start",
+      "description": "The first phandle ID we may generate dynamically",
+      "type": "int"
+    },
+    {
+      "name": "dumpdtb",
+      "description": "Dump current dtb to a file and quit",
+      "type": "string"
+    },
+    {
+      "name": "memory-backend",
+      "description": "Set RAM backendValid value is ID of hostmem based backend",
+      "type": "link<memory-backend>"
+    },
+    {
+      "name": "dtb",
+      "description": "Linux kernel device tree file",
+      "type": "string"
+    },
+    {
+      "name": "mem-merge",
+      "description": "Enable/disable memory merge support",
+      "type": "bool"
+    },
+    {
+      "name": "append",
+      "description": "Linux kernel command line",
+      "type": "string"
+    },
+    {
+      "name": "suppress-vmdesc",
+      "description": "Set on to disable self-describing migration",
+      "type": "bool"
+    },
+    {
+      "name": "smm",
+      "description": "Enable SMM",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "acpi",
+      "description": "Enable ACPI",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "pit",
+      "description": "Enable i8254 PIT",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "pic",
+      "description": "Enable i8259 PIC",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "x-oem-table-id",
+      "description": "Override the default value of field OEM Table ID in ACPI table header.The string may be up to 8 bytes in size",
+      "type": "string"
+    },
+    {
+      "name": "bus-lock-ratelimit",
+      "description": "Set the ratelimit for the bus locks acquired in VMs",
+      "type": "uint64_t"
+    },
+    {
+      "name": "sgx-epc",
+      "description": "SGX EPC device",
+      "type": "SgxEPC"
+    },
+    {
+      "name": "x-oem-id",
+      "description": "Override the default value of field OEMID in ACPI table header.The string may be up to 6 bytes in size",
+      "type": "string"
+    },
+    {
+      "name": "max-fw-size",
+      "description": "Maximum combined firmware size",
+      "type": "size"
+    },
+    {
+      "name": "default-bus-bypass-iommu",
+      "type": "bool"
+    },
+    {
+      "name": "sata",
+      "description": "Enable/disable Serial ATA bus",
+      "type": "bool"
+    },
+    {
+      "name": "vmport",
+      "description": "Enable vmport (pc & q35)",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "i8042",
+      "type": "bool"
+    },
+    {
+      "name": "hpet",
+      "description": "Enable/disable high precision event timer emulation",
+      "type": "bool"
+    },
+    {
+      "name": "smbios-entry-point-type",
+      "description": "SMBIOS Entry Point type [32, 64]",
+      "type": "str"
+    },
+    {
+      "name": "max-ram-below-4g",
+      "description": "Maximum ram below the 4G boundary (32bit boundary)",
+      "type": "size"
+    },
+    {
+      "name": "fd-bootchk",
+      "type": "bool"
+    },
+    {
+      "name": "smbus",
+      "description": "Enable/disable system management bus",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-41"
+}
+
+{
+  "execute": "query-cpu-definitions",
+  "id": "libvirt-42"
+}
+
 {
   "return": [
     {
       "deprecated": false
     }
   ],
-  "id": "libvirt-41"
+  "id": "libvirt-42"
 }
 
 {
   "execute": "query-tpm-models",
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
     "tpm-crb",
     "tpm-tis"
   ],
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
   "execute": "query-tpm-types",
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
     "passthrough",
     "emulator"
   ],
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
   "execute": "query-command-line-options",
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
       "option": "drive"
     }
   ],
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
   "execute": "query-migrate-capabilities",
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
       "capability": "mapped-ram"
     }
   ],
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
   "execute": "query-sev-capabilities",
-  "id": "libvirt-46"
+  "id": "libvirt-47"
 }
 
 {
-  "id": "libvirt-46",
+  "id": "libvirt-47",
   "error": {
     "class": "GenericError",
     "desc": "SEV: Failed to open /dev/sev: No such file or directory"
 
 {
   "execute": "query-sgx-capabilities",
-  "id": "libvirt-47"
+  "id": "libvirt-48"
 }
 
 {
-  "id": "libvirt-47",
+  "id": "libvirt-48",
   "error": {
     "class": "GenericError",
     "desc": "SGX is not enabled in KVM"
       "name": "host"
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-50"
+  "id": "libvirt-51"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-50"
+  "id": "libvirt-51"
 }
 
 {
index e96af86a92d5eebb137fd51d5d78fcf78d7d377c..ea0ff8d44422a7e1e7e65edceb275094f6df06b3 100644 (file)
   <flag name='netdev.user'/>
   <flag name='acpi-erst'/>
   <flag name='intel-iommu.dma-translation'/>
+  <flag name='machine-i8042-opt'/>
   <version>9000000</version>
   <microcodeVersion>43100245</microcodeVersion>
   <package>v9.0.0</package>
index 73fb8f195bc524d9dbe8b27fcf137615339a6460..771ec5b0cd8d0d97a58e41d55d29fe535dfafdd4 100644 (file)
 }
 
 {
-  "execute": "query-cpu-definitions",
+  "execute": "qom-list-properties",
+  "arguments": {
+    "typename": "generic-pc-machine"
+  },
   "id": "libvirt-41"
 }
 
+{
+  "return": [
+    {
+      "name": "type",
+      "type": "string"
+    },
+    {
+      "name": "kernel",
+      "description": "Linux kernel image file",
+      "type": "string"
+    },
+    {
+      "name": "dt-compatible",
+      "description": "Overrides the \"compatible\" property of the dt root node",
+      "type": "string"
+    },
+    {
+      "name": "boot",
+      "description": "Boot configuration",
+      "type": "BootConfiguration"
+    },
+    {
+      "name": "memory",
+      "description": "Memory size configuration",
+      "type": "MemorySizeConfiguration"
+    },
+    {
+      "name": "initrd",
+      "description": "Linux initial ramdisk file",
+      "type": "string"
+    },
+    {
+      "name": "confidential-guest-support",
+      "description": "Set confidential guest scheme to support",
+      "type": "link<confidential-guest-support>"
+    },
+    {
+      "name": "graphics",
+      "description": "Set on/off to enable/disable graphics emulation",
+      "type": "bool"
+    },
+    {
+      "name": "usb",
+      "description": "Set on/off to enable/disable usb",
+      "type": "bool"
+    },
+    {
+      "name": "firmware",
+      "description": "Firmware image",
+      "type": "string"
+    },
+    {
+      "name": "memory-encryption",
+      "description": "Set memory encryption object to use",
+      "type": "string"
+    },
+    {
+      "name": "smp",
+      "description": "CPU topology",
+      "type": "SMPConfiguration"
+    },
+    {
+      "name": "dump-guest-core",
+      "description": "Include guest memory in a core dump",
+      "type": "bool"
+    },
+    {
+      "name": "phandle-start",
+      "description": "The first phandle ID we may generate dynamically",
+      "type": "int"
+    },
+    {
+      "name": "dumpdtb",
+      "description": "Dump current dtb to a file and quit",
+      "type": "string"
+    },
+    {
+      "name": "memory-backend",
+      "description": "Set RAM backendValid value is ID of hostmem based backend",
+      "type": "link<memory-backend>"
+    },
+    {
+      "name": "dtb",
+      "description": "Linux kernel device tree file",
+      "type": "string"
+    },
+    {
+      "name": "mem-merge",
+      "description": "Enable/disable memory merge support",
+      "type": "bool"
+    },
+    {
+      "name": "append",
+      "description": "Linux kernel command line",
+      "type": "string"
+    },
+    {
+      "name": "suppress-vmdesc",
+      "description": "Set on to disable self-describing migration",
+      "type": "bool"
+    },
+    {
+      "name": "smm",
+      "description": "Enable SMM",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "acpi",
+      "description": "Enable ACPI",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "pit",
+      "description": "Enable i8254 PIT",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "pic",
+      "description": "Enable i8259 PIC",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "x-oem-table-id",
+      "description": "Override the default value of field OEM Table ID in ACPI table header.The string may be up to 8 bytes in size",
+      "type": "string"
+    },
+    {
+      "name": "bus-lock-ratelimit",
+      "description": "Set the ratelimit for the bus locks acquired in VMs",
+      "type": "uint64_t"
+    },
+    {
+      "name": "sgx-epc",
+      "description": "SGX EPC device",
+      "type": "SgxEPC"
+    },
+    {
+      "name": "x-oem-id",
+      "description": "Override the default value of field OEMID in ACPI table header.The string may be up to 6 bytes in size",
+      "type": "string"
+    },
+    {
+      "name": "max-fw-size",
+      "description": "Maximum combined firmware size",
+      "type": "size"
+    },
+    {
+      "name": "default-bus-bypass-iommu",
+      "type": "bool"
+    },
+    {
+      "name": "sata",
+      "description": "Enable/disable Serial ATA bus",
+      "type": "bool"
+    },
+    {
+      "name": "vmport",
+      "description": "Enable vmport (pc & q35)",
+      "type": "OnOffAuto"
+    },
+    {
+      "name": "i8042",
+      "type": "bool"
+    },
+    {
+      "name": "hpet",
+      "description": "Enable/disable high precision event timer emulation",
+      "type": "bool"
+    },
+    {
+      "name": "smbios-entry-point-type",
+      "description": "SMBIOS Entry Point type [32, 64]",
+      "type": "str"
+    },
+    {
+      "name": "max-ram-below-4g",
+      "description": "Maximum ram below the 4G boundary (32bit boundary)",
+      "type": "size"
+    },
+    {
+      "name": "fd-bootchk",
+      "type": "bool"
+    },
+    {
+      "name": "smbus",
+      "description": "Enable/disable system management bus",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-41"
+}
+
+{
+  "execute": "query-cpu-definitions",
+  "id": "libvirt-42"
+}
+
 {
   "return": [
     {
       "deprecated": false
     }
   ],
-  "id": "libvirt-41"
+  "id": "libvirt-42"
 }
 
 {
   "execute": "query-tpm-models",
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
     "tpm-crb",
     "tpm-tis"
   ],
-  "id": "libvirt-42"
+  "id": "libvirt-43"
 }
 
 {
   "execute": "query-tpm-types",
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
     "passthrough",
     "emulator"
   ],
-  "id": "libvirt-43"
+  "id": "libvirt-44"
 }
 
 {
   "execute": "query-command-line-options",
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
       "option": "drive"
     }
   ],
-  "id": "libvirt-44"
+  "id": "libvirt-45"
 }
 
 {
   "execute": "query-migrate-capabilities",
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
       "capability": "mapped-ram"
     }
   ],
-  "id": "libvirt-45"
+  "id": "libvirt-46"
 }
 
 {
   "execute": "query-sev-capabilities",
-  "id": "libvirt-46"
+  "id": "libvirt-47"
 }
 
 {
-  "id": "libvirt-46",
+  "id": "libvirt-47",
   "error": {
     "class": "GenericError",
     "desc": "SEV: Failed to open /dev/sev: No such file or directory"
 
 {
   "execute": "query-sgx-capabilities",
-  "id": "libvirt-47"
+  "id": "libvirt-48"
 }
 
 {
-  "id": "libvirt-47",
+  "id": "libvirt-48",
   "error": {
     "class": "GenericError",
     "desc": "Could not open '/dev/sgx_vepc': No such file or directory"
       "name": "host"
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-48"
+  "id": "libvirt-49"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-49"
+  "id": "libvirt-50"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-50"
+  "id": "libvirt-51"
 }
 
 {
       }
     }
   },
-  "id": "libvirt-50"
+  "id": "libvirt-51"
 }
 
 {
index c3cb6efc61823f1a6c9f168b36fa85a415f41d5f..612a68e468cba866b275dd54f5c009e1fbe07dea 100644 (file)
   <flag name='netdev.user'/>
   <flag name='acpi-erst'/>
   <flag name='intel-iommu.dma-translation'/>
+  <flag name='machine-i8042-opt'/>
   <version>9000090</version>
   <microcodeVersion>43100246</microcodeVersion>
   <package>v9.1.0-rc0-121-g75c7f57403</package>