diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-18 08:08:10 +1000 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-18 11:26:33 -0600 |
commit | b5cc6e32baa9d98d50debe23229b303f89fe84f1 (patch) | |
tree | b0833ba96974237982becf03fe62370d32d95340 /hw/vga_int.h | |
parent | a6109ff1b5d7184a9d490c4ff94f175940232ebd (diff) | |
download | qemu-b5cc6e32baa9d98d50debe23229b303f89fe84f1.zip qemu-b5cc6e32baa9d98d50debe23229b303f89fe84f1.tar.gz qemu-b5cc6e32baa9d98d50debe23229b303f89fe84f1.tar.bz2 |
VMware VGA: Only enable dirty log tracking when fifo is disabled
This patch enables dirty log tracking whenever it's needed and disables it
when it is not.
We unconditionally enable dirty log tracking on reset, restart dirty log
tracking when PCI IO regions are remapped, and disable/enable it based on
commands from the guest.
Rebased-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/vga_int.h')
-rw-r--r-- | hw/vga_int.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/vga_int.h b/hw/vga_int.h index b5302c1..23a42ef 100644 --- a/hw/vga_int.h +++ b/hw/vga_int.h @@ -194,6 +194,8 @@ void vga_init(VGACommonState *s); void vga_common_reset(VGACommonState *s); void vga_dirty_log_start(VGACommonState *s); +void vga_dirty_log_stop(VGACommonState *s); +void vga_dirty_log_restart(VGACommonState *s); extern const VMStateDescription vmstate_vga_common; uint32_t vga_ioport_read(void *opaque, uint32_t addr); |