]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
VMware VGA: Only enable dirty log tracking when fifo is disabled
authorAnthony Liguori <aliguori@us.ibm.com>
Thu, 17 Dec 2009 22:08:10 +0000 (08:08 +1000)
committerAnthony Liguori <aliguori@us.ibm.com>
Sat, 19 Dec 2009 14:26:23 +0000 (08:26 -0600)
commit2b311b3cce0e30dc361a4f67948a8ccfe4db248d
treeedc64778e60cbcf4318eb0c71aa2aeadd4eda2d3
parent4b5db3749c5fdba93e1ac0e8748c9a9a1064319f
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>
(cherry picked from commit b5cc6e32baa9d98d50debe23229b303f89fe84f1)
hw/vga.c
hw/vga_int.h
hw/vmware_vga.c