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>
This commit is contained in:
Amit Shah 2010-02-25 19:26:11 +05:30 committed by Aurelien Jarno
parent ad509737f8
commit 977b6b91ce
1 changed files with 10 additions and 1 deletions

View 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);