qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC 1.0] pc_piix: set qxl revision to 2 for pc-0.14
@ 2011-11-13 13:27 Alon Levy
  2011-11-14 10:40 ` Gerd Hoffmann
  2011-11-15 15:04 ` Anthony Liguori
  0 siblings, 2 replies; 10+ messages in thread
From: Alon Levy @ 2011-11-13 13:27 UTC (permalink / raw)
  To: kraxel; +Cc: qemu-devel, avi

The default is still 3, and I didn't change older machine types.

Signed-off-by: Alon Levy <alevy@redhat.com>
---
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 = {
-- 
1.7.7.3

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-11-15 15:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-13 13:27 [Qemu-devel] [RFC 1.0] pc_piix: set qxl revision to 2 for pc-0.14 Alon Levy
2011-11-14 10:40 ` Gerd Hoffmann
2011-11-14 11:44   ` Alon Levy
2011-11-14 15:55     ` Gerd Hoffmann
2011-11-14 16:07       ` Anthony Liguori
2011-11-14 17:45         ` Avi Kivity
2011-11-14 17:48           ` Anthony Liguori
2011-11-14 17:51             ` Avi Kivity
2011-11-15 10:54               ` Gerd Hoffmann
2011-11-15 15:04 ` Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).