From 21be440c6ae355e6acb4f46bfe8249b72e5f54ba Mon Sep 17 00:00:00 2001 From: Amit Shah Date: Thu, 25 Feb 2010 19:26:12 +0530 Subject: 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 Signed-off-by: Aurelien Jarno --- hw/ppc440_bamboo.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'hw/ppc440_bamboo.c') diff --git a/hw/ppc440_bamboo.c b/hw/ppc440_bamboo.c index 470ecd0c5..8a50836b2 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) -- cgit v1.2.3