]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/boards.h
machine: show if CLI option '-numa node,mem' is supported in QAPI schema
[mirror_qemu.git] / include / hw / boards.h
index d84f48c4af2544bf23990e3d563dc273328d397e..ae7a5425110250f8cd63539fe6bf374309a53d87 100644 (file)
@@ -160,6 +160,8 @@ typedef struct {
  * @kvm_type:
  *    Return the type of KVM corresponding to the kvm-type string option or
  *    computed based on other criteria such as the host kernel capabilities.
+ * @numa_mem_supported:
+ *    true if '--numa node.mem' option is supported and false otherwise
  */
 struct MachineClass {
     /*< private >*/
@@ -212,6 +214,7 @@ struct MachineClass {
     bool ignore_boot_device_suffixes;
     bool smbus_no_migration_support;
     bool nvdimm_supported;
+    bool numa_mem_supported;
 
     HotplugHandler *(*get_hotplug_handler)(MachineState *machine,
                                            DeviceState *dev);