Patchwork [PATCHv3] qxl: allow QXL_IO_LOG also in vga

login
register
mail settings
Submitter Alon Levy
Date June 29, 2011, 11:57 a.m.
Message ID <1309348641-20061-6-git-send-email-alevy@redhat.com>
Download mbox | patch
Permalink /patch/102576/
State New
Headers show

Comments

Alon Levy - June 29, 2011, 11:57 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 a5827fb..d38e3c0 100644
--- a/hw/qxl.c
+++ b/hw/qxl.c
@@ -1085,6 +1085,7 @@  static void ioport_write(void *opaque, uint32_t addr, uint32_t val)
     case QXL_IO_CREATE_PRIMARY:
     case QXL_IO_CREATE_PRIMARY_ASYNC:
     case QXL_IO_UPDATE_IRQ:
+    case QXL_IO_LOG:
         break;
     default:
         if (d->mode == QXL_MODE_NATIVE || d->mode == QXL_MODE_COMPAT)