Patchwork [PATCHv2,4/4] qxl: allow QXL_IO_LOG also in vga

login
register
mail settings
Submitter Alon Levy
Date April 28, 2011, 8:29 a.m.
Message ID <1303979358-4421-5-git-send-email-alevy@redhat.com>
Download mbox | patch
Permalink /patch/93198/
State New
Headers show

Comments

Alon Levy - April 28, 2011, 8:29 a.m.
The driver may change us to vga mode and still issue a QXL_IO_LOG,
which we can easily support.
---
 hw/qxl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

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