qxl: allow QXL_IO_LOG also in vga
authorAlon Levy <alevy@redhat.com>
Wed, 29 Jun 2011 11:57:11 +0000 (13:57 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 4 Jul 2011 13:35:12 +0000 (15:35 +0200)
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

index 848c90fc97d5a67a8389f45a03b3441c4d642b43..0b9a4c71ec8bead3e559f2d6b0231152cdd7c354 100644 (file)
--- 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)