qxl: stop dirty loging when not in vga mode
commit0f7bfd8198ffad58a5095ac5d7a46288ea7f5c6e
authorAlon Levy <alevy@redhat.com>
Thu, 24 May 2012 16:18:53 +0000 (24 19:18 +0300)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 22 Jun 2012 08:46:12 +0000 (22 10:46 +0200)
tree644d877d8f5017ac51e70f06f0f220a6e812bf69
parent0a530548a1007dd24a9ea3429af2c9dfae690386
qxl: stop dirty loging when not in vga mode

Tested with linux guest. Not sure how to check actual performance affect
of this. Checked with the previously send traceevent that the kvm ioctl
to start/stop dirty logging is being called.
(KVM_SET_USER_MEMORY_REGION).

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