]> git.proxmox.com Git - mirror_qemu.git/commit
qxl: add QXL_IO_FLUSH_{SURFACES,RELEASE} for guest S3&S4 support
authorAlon Levy <alevy@redhat.com>
Wed, 20 Jul 2011 09:20:59 +0000 (12:20 +0300)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 3 Aug 2011 10:03:06 +0000 (12:03 +0200)
commit3e16b9c53493d6107c5a1ec810ace2447fcb11eb
tree15d2e9461c0447bd187a1a47259a6ede0c654069
parent5ff4e36c804157bd84af43c139f8cd3a59722db9
qxl: add QXL_IO_FLUSH_{SURFACES,RELEASE} for guest S3&S4 support

Add two new IOs.
 QXL_IO_FLUSH_SURFACES - equivalent to update area for all surfaces, used
  to reduce vmexits from NumSurfaces to 1 on guest S3, S4 and resolution change (windows
  driver implementation is such that this is done on each of those occasions).
 QXL_IO_FLUSH_RELEASE - used to ensure anything on last_release is put on the release ring
  for the client to free.

Signed-off-by: Yonit Halperin <yhalperi@redhat.com>
Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/qxl.c