@@ -2761,6 +2761,11 @@ DEFINE_VIRT_MACHINE_AS_LATEST(6, 1)
static void virt_machine_6_0_options(MachineClass *mc)
{
+ VirtMachineClass *vmc = VIRT_MACHINE_CLASS(OBJECT_CLASS(mc));
+
+ virt_machine_6_1_options(mc);
+ compat_props_add(mc->compat_props, hw_compat_6_0, hw_compat_6_0_len);
+ vmc->no_cpu_topology = true;
}
DEFINE_VIRT_MACHINE(6, 0)
@@ -129,6 +129,8 @@ struct VirtMachineClass {
bool no_kvm_steal_time;
bool acpi_expose_flash;
bool no_secure_gpio;
+ /* Machines < 6.1 has no support of cpu topology description for guest */
+ bool no_cpu_topology;
};
struct VirtMachineState {