[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCHv3] qxl: only disallow specific io's in vga mode
From: |
Alon Levy |
Subject: |
[Qemu-devel] [PATCHv3] qxl: only disallow specific io's in vga mode |
Date: |
Tue, 12 Jul 2011 16:55:31 +0300 |
Since the driver is still in operation even after moving to UNDEFINED, i.e.
by destroying primary in any way.
---
hw/qxl.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/hw/qxl.c b/hw/qxl.c
index 0585f02..1d6acce 100644
--- a/hw/qxl.c
+++ b/hw/qxl.c
@@ -1175,8 +1175,9 @@ static void ioport_write(void *opaque, uint32_t addr,
uint32_t val)
case QXL_IO_LOG:
break;
default:
- if (d->mode == QXL_MODE_NATIVE || d->mode == QXL_MODE_COMPAT)
+ if (d->mode != QXL_MODE_VGA) {
break;
+ }
dprint(d, 1, "%s: unexpected port 0x%x (%s) in vga mode\n",
__FUNCTION__, io_port, io_port_to_string(io_port));
/* be nice to buggy guest drivers */
--
1.7.6
- [Qemu-devel] [PATCHv3] spice/qxl: move worker wrappers, (continued)
- [Qemu-devel] [PATCHv3] spice/qxl: move worker wrappers, Alon Levy, 2011/07/12
- [Qemu-devel] [PATCHv3] qxl: async io support using new spice api, Alon Levy, 2011/07/12
- [Qemu-devel] [PATCHv3] qxl: use QXL_REVISION_*, Alon Levy, 2011/07/12
- [Qemu-devel] [PATCHv3] qxl-render: qxl_render_update: nop if \!ssd.running, Alon Levy, 2011/07/12
- [Qemu-devel] [PATCHv3] qxl: qxl_send_events: ignore if stopped (instead of abort), Alon Levy, 2011/07/12
- [Qemu-devel] [PATCHv3] qxl-render: use update_area_async and update_area_complete, Alon Levy, 2011/07/12
- [Qemu-devel] [PATCHv3] qxl: only disallow specific io's in vga mode,
Alon Levy <=
- [Qemu-devel] [PATCHv3] qxl: add QXL_IO_FLUSH_{SURFACES, RELEASE} for guest S3&S4 support, Alon Levy, 2011/07/12
- Re: [Qemu-devel] [PATCHv3] async + suspend reworked, Gerd Hoffmann, 2011/07/13
- Re: [Qemu-devel] [PATCHv3] async + suspend reworked, Gerd Hoffmann, 2011/07/13