aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc440_bamboo.c
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2010-02-25 19:26:12 +0530
committerAurelien Jarno <aurelien@aurel32.net>2010-03-06 22:56:54 +0100
commit21be440c6ae355e6acb4f46bfe8249b72e5f54ba (patch)
tree3f079a74dfcf547a4f4b1bf67503d730c2b128a1 /hw/ppc440_bamboo.c
parent977b6b91cee1132f8c7b12d22f4b273091598e44 (diff)
ppc440_bamboo: Disable new virtio-serial features for 0.12 machine type
Disable the MULTIPORT feature and MSI vectors for the 0.12 machine types; those features are added only for 0.13 onwards. 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.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/hw/ppc440_bamboo.c b/hw/ppc440_bamboo.c
index 470ecd0c5e..8a50836b2d 100644
--- a/hw/ppc440_bamboo.c
+++ b/hw/ppc440_bamboo.c
@@ -184,6 +184,18 @@ static QEMUMachine bamboo_machine_v0_12 = {
.name = "bamboo-0.12",
.desc = "bamboo",
.init = bamboo_init,
+ .compat_props = (GlobalProperty[]) {
+ {
+ .driver = "virtio-serial-pci",
+ .property = "max_nr_ports",
+ .value = stringify(1),
+ },{
+ .driver = "virtio-serial-pci",
+ .property = "vectors",
+ .value = stringify(0),
+ },
+ { /* end of list */ }
+ },
};
static void bamboo_machine_init(void)