Commit 96cc181089a532f9f4e6cf6858daf1f04d06cfc5

Authored by Gerd Hoffmann
Committed by Anthony Liguori
1 parent 3320e56e

qdev/compat: add pc-0.10 machine type.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Showing 1 changed file with 11 additions and 0 deletions
... ... @@ -1519,6 +1519,16 @@ static QEMUMachine pc_machine = {
1519 1519 .is_default = 1,
1520 1520 };
1521 1521  
  1522 +static QEMUMachine pc_machine_v0_10 = {
  1523 + .name = "pc-0.10",
  1524 + .desc = "Standard PC, qemu 0.10",
  1525 + .init = pc_init_pci,
  1526 + .max_cpus = 255,
  1527 + .compat_props = (CompatProperty[]) {
  1528 + { /* end of list */ }
  1529 + },
  1530 +};
  1531 +
1522 1532 static QEMUMachine isapc_machine = {
1523 1533 .name = "isapc",
1524 1534 .desc = "ISA-only PC",
... ... @@ -1536,6 +1546,7 @@ static QEMUMachine pc_0_10_machine = {
1536 1546 static void pc_machine_init(void)
1537 1547 {
1538 1548 qemu_register_machine(&pc_machine);
  1549 + qemu_register_machine(&pc_machine_v0_10);
1539 1550 qemu_register_machine(&isapc_machine);
1540 1551  
1541 1552 /* For compatibility with 0.10.x */
... ...