Avoid resetting vga dirty logging unnecessarily
commit8ae52b000f14d2646238b3544178bdb7d5dd84f3
authorAvi Kivity <avi@redhat.com>
Thu, 4 Dec 2008 19:51:22 +0000 (4 21:51 +0200)
committerAvi Kivity <avi@redhat.com>
Fri, 5 Dec 2008 15:35:44 +0000 (5 17:35 +0200)
tree7714c66974e0dc8155d268f779d56e7336111459
parent33c35bcf41fb86672d309527e96c184fd7d4b5bd
Avoid resetting vga dirty logging unnecessarily

cirrus bitblt reset will stop and start dirty logging even when there is no
need; this causes full redraws.

avoid by only updating memory access when exiting cpu-to-video update mode.

Signed-off-by: Avi Kivity <avi@redhat.com>
hw/cirrus_vga.c