summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-11-11 12:59:25 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2010-11-21 09:16:57 -0600
commitb903a0f721f28283e5eaab00a3cb2ada96c2eae0 (patch)
tree7f8a26fdc45bacffaea999344b75ed2fac48633e
parent0b2c508856fa23695900c29b6ada57c07843bc6f (diff)
downloadfocaccia-qemu-b903a0f721f28283e5eaab00a3cb2ada96c2eae0.tar.gz
focaccia-qemu-b903a0f721f28283e5eaab00a3cb2ada96c2eae0.zip
pc: add 0.13 pc machine type
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--hw/pc_piix.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index 12359a75c9..e17e878f07 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
@@ -212,7 +212,7 @@ static void pc_init_isa(ram_addr_t ram_size,
 }
 
 static QEMUMachine pc_machine = {
-    .name = "pc-0.13",
+    .name = "pc-0.14",
     .alias = "pc",
     .desc = "Standard PC",
     .init = pc_init_pci,
@@ -220,6 +220,13 @@ static QEMUMachine pc_machine = {
     .is_default = 1,
 };
 
+static QEMUMachine pc_machine_v0_13 = {
+    .name = "pc-0.13",
+    .desc = "Standard PC",
+    .init = pc_init_pci,
+    .max_cpus = 255,
+};
+
 static QEMUMachine pc_machine_v0_12 = {
     .name = "pc-0.12",
     .desc = "Standard PC",
@@ -331,6 +338,7 @@ static QEMUMachine isapc_machine = {
 static void pc_machine_init(void)
 {
     qemu_register_machine(&pc_machine);
+    qemu_register_machine(&pc_machine_v0_13);
     qemu_register_machine(&pc_machine_v0_12);
     qemu_register_machine(&pc_machine_v0_11);
     qemu_register_machine(&pc_machine_v0_10);