]> Git Repo - qemu.git/commitdiff
ppc440_bamboo: Add 0.12 and 0.13 machine types for backward compat
authorAmit Shah <[email protected]>
Thu, 25 Feb 2010 13:56:11 +0000 (19:26 +0530)
committerAurelien Jarno <[email protected]>
Sat, 6 Mar 2010 21:56:53 +0000 (22:56 +0100)
Add a 0.12 machine type for compatibility with older versions. Mark the
default one as 0.13.

Signed-off-by: Amit Shah <[email protected]>
Signed-off-by: Aurelien Jarno <[email protected]>
hw/ppc440_bamboo.c

index 40e463ba638c64099a70b20fb3b717591b4eb7ed..470ecd0c5eaade57a7292b31c6a9d5f909ff9d1f 100644 (file)
@@ -173,7 +173,15 @@ static void bamboo_init(ram_addr_t ram_size,
 }
 
 static QEMUMachine bamboo_machine = {
-    .name = "bamboo",
+    .name = "bamboo-0.13",
+    .alias = "bamboo",
+    .desc = "bamboo",
+    .init = bamboo_init,
+    .is_default = 1,
+};
+
+static QEMUMachine bamboo_machine_v0_12 = {
+    .name = "bamboo-0.12",
     .desc = "bamboo",
     .init = bamboo_init,
 };
@@ -181,6 +189,7 @@ static QEMUMachine bamboo_machine = {
 static void bamboo_machine_init(void)
 {
     qemu_register_machine(&bamboo_machine);
+    qemu_register_machine(&bamboo_machine_v0_12);
 }
 
 machine_init(bamboo_machine_init);
This page took 0.027779 seconds and 4 git commands to generate.