OSDN Git Service

pc_piix: set qxl revision to 2 for pc-0.14
authorAlon Levy <alevy@redhat.com>
Sun, 13 Nov 2011 13:27:51 +0000 (15:27 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 14 Nov 2011 17:26:32 +0000 (11:26 -0600)
The default is still 3, and I didn't change older machine types.

Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pc_piix.c

index 27ea570..970f43c 100644 (file)
@@ -311,6 +311,18 @@ static QEMUMachine pc_machine_v0_14 = {
     .desc = "Standard PC",
     .init = pc_init_pci,
     .max_cpus = 255,
+    .compat_props = (GlobalProperty[]) {
+        {
+            .driver   = "qxl",
+            .property = "revision",
+            .value    = stringify(2),
+        },{
+            .driver   = "qxl-vga",
+            .property = "revision",
+            .value    = stringify(2),
+        },
+        { /* end of list */ }
+    },
 };
 
 static QEMUMachine pc_machine_v0_13 = {