From: Gerd Hoffmann Date: Wed, 15 Jul 2009 11:48:22 +0000 (+0200) Subject: qdev/compat: add pc-0.10 machine type. X-Git-Tag: v0.11.0-rc0~41 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=96cc181089a532f9f4e6cf6858daf1f04d06cfc5;p=thirdparty%2Fqemu.git qdev/compat: add pc-0.10 machine type. Signed-off-by: Gerd Hoffmann Signed-off-by: Anthony Liguori --- diff --git a/hw/pc.c b/hw/pc.c index 7bb67ea9e70..64526ecc3e2 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -1519,6 +1519,16 @@ static QEMUMachine pc_machine = { .is_default = 1, }; +static QEMUMachine pc_machine_v0_10 = { + .name = "pc-0.10", + .desc = "Standard PC, qemu 0.10", + .init = pc_init_pci, + .max_cpus = 255, + .compat_props = (CompatProperty[]) { + { /* end of list */ } + }, +}; + static QEMUMachine isapc_machine = { .name = "isapc", .desc = "ISA-only PC", @@ -1536,6 +1546,7 @@ static QEMUMachine pc_0_10_machine = { static void pc_machine_init(void) { qemu_register_machine(&pc_machine); + qemu_register_machine(&pc_machine_v0_10); qemu_register_machine(&isapc_machine); /* For compatibility with 0.10.x */