qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC 1.0] pc_piix: set qxl revision to 2 for pc-0.14


From: Anthony Liguori
Subject: Re: [Qemu-devel] [RFC 1.0] pc_piix: set qxl revision to 2 for pc-0.14
Date: Tue, 15 Nov 2011 09:04:32 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Lightning/1.0b2 Thunderbird/3.1.13

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<address@hidden>

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

[Prev in Thread] Current Thread [Next in Thread]