cirrus: wrap memory update in a transaction
commitcf9182e2290732be9f8d4f73ba3d6f3484380450
authorAvi Kivity <avi@redhat.com>
Mon, 1 Aug 2011 08:03:42 +0000 (1 11:03 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 25 Aug 2011 07:56:33 +0000 (25 10:56 +0300)
tree31d076bf7d9f71bde7047a65b64532de6d90c2e3
parent20e5758b086a2fc6658afc58836e9cdb76b09977
cirrus: wrap memory update in a transaction

This prevents spurious unmapping and remapping of the vga windows,
which reduces performance.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Avi Kivity <avi@redhat.com>
hw/cirrus_vga.c