]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/i386/pc_piix.c
pc: use new CPU hotplug interface since 2.7 machine type
[mirror_qemu.git] / hw / i386 / pc_piix.c
index 53bc968bd071e798381493d4f2d79cc5a9c9dcfe..c7d70af2536cd4a9c5a0460b5b6e22cc5358e6ec 100644 (file)
@@ -445,9 +445,11 @@ DEFINE_I440FX_MACHINE(v2_7, "pc-i440fx-2.7", NULL,
 
 static void pc_i440fx_2_6_machine_options(MachineClass *m)
 {
+    PCMachineClass *pcmc = PC_MACHINE_CLASS(m);
     pc_i440fx_2_7_machine_options(m);
     m->is_default = 0;
     m->alias = NULL;
+    pcmc->legacy_cpu_hotplug = true;
     SET_MACHINE_COMPAT(m, PC_COMPAT_2_6);
 }