diff options
author | Amit Shah <amit.shah@redhat.com> | 2010-02-25 19:26:11 +0530 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-03-06 22:56:53 +0100 |
commit | 977b6b91cee1132f8c7b12d22f4b273091598e44 (patch) | |
tree | e9ba0dbcf1f10b0cf316cf3a51e688ca3b805286 /hw/ppc440_bamboo.c | |
parent | ad509737f829a0503e0fcab3177815489b168ec7 (diff) |
ppc440_bamboo: Add 0.12 and 0.13 machine types for backward compat
Add a 0.12 machine type for compatibility with older versions. Mark the
default one as 0.13.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/ppc440_bamboo.c')
-rw-r--r-- | hw/ppc440_bamboo.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/hw/ppc440_bamboo.c b/hw/ppc440_bamboo.c index 40e463ba6..470ecd0c5 100644 --- a/hw/ppc440_bamboo.c +++ b/hw/ppc440_bamboo.c @@ -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); |