Patchwork [9/9] qxl: allow QXL_IO_LOG also in vga

login
register
mail settings
Submitter Gerd Hoffmann
Date July 4, 2011, 3:14 p.m.
Message ID <1309792455-26825-10-git-send-email-kraxel@redhat.com>
Download mbox | patch
Permalink /patch/103124/
State New
Headers show

Comments

Gerd Hoffmann - July 4, 2011, 3:14 p.m.
From: Alon Levy <alevy@redhat.com>

The driver may change us to vga mode and still issue a QXL_IO_LOG,
which we can easily support.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 hw/qxl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/hw/qxl.c b/hw/qxl.c
index 848c90f..0b9a4c7 100644
--- a/hw/qxl.c
+++ b/hw/qxl.c
@@ -943,6 +943,7 @@  static void ioport_write(void *opaque, uint32_t addr, uint32_t val)
     case QXL_IO_MEMSLOT_DEL:
     case QXL_IO_CREATE_PRIMARY:
     case QXL_IO_UPDATE_IRQ:
+    case QXL_IO_LOG:
         break;
     default:
         if (d->mode == QXL_MODE_NATIVE || d->mode == QXL_MODE_COMPAT)