On 11/13/2011 07:27 AM, Alon Levy wrote:
The default is still 3, and I didn't change older machine types.

Signed-off-by: Alon Levy<al...@redhat.com>

Applied.  Thanks.

Regards,

Anthony Liguori

---
Is there a better way then copy pasting this to the older pc types to get
the revision == 2 for them as well?

  hw/pc_piix.c |   12 ++++++++++++
  1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index 27ea570..970f43c 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
@@ -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 = {


Reply via email to