]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
ppc440_bamboo: Disable new virtio-serial features for 0.12 machine type
authorAmit Shah <amit.shah@redhat.com>
Thu, 25 Feb 2010 13:56:12 +0000 (19:26 +0530)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 6 Mar 2010 21:56:54 +0000 (22:56 +0100)
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>
hw/ppc440_bamboo.c

index 470ecd0c5eaade57a7292b31c6a9d5f909ff9d1f..8a50836b2d878477d9316cae55333dd5f0a0a329 100644 (file)
@@ -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)