qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [PATCH 8/8] qxl: set default revision to 4
Date: Mon,  8 Oct 2012 12:49:51 +0200	[thread overview]
Message-ID: <1349693391-32704-9-git-send-email-kraxel@redhat.com> (raw)
In-Reply-To: <1349693391-32704-1-git-send-email-kraxel@redhat.com>

Set qxl pci revision to 4 (for pc-1.3+) so guests know
spice-server 0.12 features are available.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 hw/pc_piix.c |    8 ++++++++
 hw/qxl.h     |    5 -----
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index fd5898f..82364ab 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
@@ -371,6 +371,14 @@ static QEMUMachine pc_machine_v1_3 = {
             .driver   = "ivshmem",\
             .property = "use64",\
             .value    = "0",\
+        },{\
+            .driver   = "qxl",\
+            .property = "revision",\
+            .value    = stringify(3),\
+        },{\
+            .driver   = "qxl-vga",\
+            .property = "revision",\
+            .value    = stringify(3),\
         }
 
 static QEMUMachine pc_machine_v1_2 = {
diff --git a/hw/qxl.h b/hw/qxl.h
index 5553824..e583cfb 100644
--- a/hw/qxl.h
+++ b/hw/qxl.h
@@ -129,12 +129,7 @@ typedef struct PCIQXLDevice {
         }                                                               \
     } while (0)
 
-#if 0
-/* spice-server 0.12 is still in development */
 #define QXL_DEFAULT_REVISION QXL_REVISION_STABLE_V12
-#else
-#define QXL_DEFAULT_REVISION QXL_REVISION_STABLE_V10
-#endif
 
 /* qxl.c */
 void *qxl_phys2virt(PCIQXLDevice *qxl, QXLPHYSICAL phys, int group_id);
-- 
1.7.1

  parent reply	other threads:[~2012-10-08 10:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-08 10:49 [Qemu-devel] [PULL 0/8] spice patch queue Gerd Hoffmann
2012-10-08 10:49 ` [Qemu-devel] [PATCH 1/8] qxl: always update displaysurface on resize Gerd Hoffmann
2012-10-08 10:49 ` [Qemu-devel] [PATCH 2/8] qxl/update_area_io: cleanup invalid parameters handling Gerd Hoffmann
2012-10-08 10:49 ` [Qemu-devel] [PATCH 3/8] qxl: fix range check for rev3 io commands Gerd Hoffmann
2012-10-08 10:49 ` [Qemu-devel] [PATCH 4/8] hw/qxl: exit on failure to register qxl interface Gerd Hoffmann
2012-10-08 10:49 ` [Qemu-devel] [PATCH 5/8] hw/qxl: fix condition for exiting guest_bug Gerd Hoffmann
2012-10-08 10:49 ` [Qemu-devel] [PATCH 6/8] hw/qxl: qxl_dirty_surfaces: use uintptr_t Gerd Hoffmann
2012-10-08 10:49 ` [Qemu-devel] [PATCH 7/8] spice: raise requirement to 0.12 Gerd Hoffmann
2012-10-08 10:49 ` Gerd Hoffmann [this message]
2012-10-12 16:18 ` [Qemu-devel] [PULL 0/8] spice patch queue Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1349693391-32704-9-git-send-email-kraxel@redhat.com \
    --to=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).