[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCHv3] qxl: move to UNDEFINED on DESTROY_ALL_SURFACES{,
From: |
Alon Levy |
Subject: |
[Qemu-devel] [PATCHv3] qxl: move to UNDEFINED on DESTROY_ALL_SURFACES{, _ASYNC} |
Date: |
Wed, 29 Jun 2011 13:57:19 +0200 |
---
hw/qxl.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/hw/qxl.c b/hw/qxl.c
index f158d45..b794b2c 100644
--- a/hw/qxl.c
+++ b/hw/qxl.c
@@ -1245,6 +1245,7 @@ static void ioport_write(void *opaque, uint32_t addr,
uint32_t val)
qxl_spice_destroy_surface_wait(d, val);
break;
case QXL_IO_DESTROY_ALL_SURFACES:
+ d->mode = QXL_MODE_UNDEFINED;
qxl_spice_destroy_surfaces(d);
break;
case QXL_IO_FLUSH_SURFACES:
@@ -1302,9 +1303,10 @@ static void ioport_write(void *opaque, uint32_t addr,
uint32_t val)
async->update_area = d->ram->update_area;
async->update_surface = d->ram->update_surface;
goto async_common;
+ case QXL_IO_DESTROY_ALL_SURFACES_ASYNC:
+ d->mode = QXL_MODE_UNDEFINED;
case QXL_IO_NOTIFY_OOM_ASYNC:
case QXL_IO_DESTROY_SURFACE_ASYNC:
- case QXL_IO_DESTROY_ALL_SURFACES_ASYNC:
async = qemu_mallocz(sizeof(*async));
async_common:
async->port = io_port;
--
1.7.5.4
- [Qemu-devel] [PATCHv3] qxl: add io_port_to_string, (continued)
- [Qemu-devel] [PATCHv3] qxl: add io_port_to_string, Alon Levy, 2011/06/29
- [Qemu-devel] [PATCHv3] qxl: update revision to QXL_REVISION_STABLE_V10, Alon Levy, 2011/06/29
- [Qemu-devel] [PATCHv3] qxl: add QXL_IO_FLUSH_{SURFACES, RELEASE} for guest S3&S4 support, Alon Levy, 2011/06/29
- Re: [Qemu-devel] [PATCHv3] qxl: add QXL_IO_FLUSH_{SURFACES, RELEASE} for guest S3&S4 support, Alon Levy, 2011/06/29
[Qemu-devel] [PATCHv3] qxl: move to UNDEFINED on DESTROY_ALL_SURFACES{, _ASYNC},
Alon Levy <=
- Re: [Qemu-devel] [PATCHv3] qxl: move to UNDEFINED on DESTROY_ALL_SURFACES{, _ASYNC}, Gerd Hoffmann, 2011/06/29
- Re: [Qemu-devel] [PATCHv3] qxl: move to UNDEFINED on DESTROY_ALL_SURFACES{, _ASYNC}, Alon Levy, 2011/06/29
- Re: [Qemu-devel] [PATCHv3] qxl: move to UNDEFINED on DESTROY_ALL_SURFACES{, _ASYNC}, Gerd Hoffmann, 2011/06/29
- Re: [Qemu-devel] [PATCHv3] qxl: move to UNDEFINED on DESTROY_ALL_SURFACES{, _ASYNC}, Alon Levy, 2011/06/29
- Re: [Qemu-devel] [PATCHv3] qxl: move to UNDEFINED on DESTROY_ALL_SURFACES{, _ASYNC}, Gerd Hoffmann, 2011/06/30
[Qemu-devel] [PATCHv3] qxl: only disallow specific io's in vga mode, Alon Levy, 2011/06/29
[Qemu-devel] [PATCHv3] (alon-local) symlink bios out of tree, Alon Levy, 2011/06/29