diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-08-23 13:02:33 +0200 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2012-09-11 18:15:36 -0300 |
commit | bd8f2f5d7034172a53c5a5b229613761f3297493 (patch) | |
tree | 817a167a091ed6055239b9d14ff7962f6513f0f6 /hw/qxl.c | |
parent | bb880ded7a6a77b2a7818e6302ac55fbd9ba5e86 (diff) |
VGA: Flush coalesced MMIO on related MMIO/PIO accesses
In preparation of stopping to flush coalesced MMIO unconditionally on
vmexits, mark VGA MMIO and PIO regions as synchronous /wrt coalesced
MMIO and flush the buffer explicitly on PIO accesses that do not use
generic memory regions yet.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'hw/qxl.c')
-rw-r--r-- | hw/qxl.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1910,6 +1910,7 @@ static int qxl_init_common(PCIQXLDevice *qxl) if (qxl->id == 0) { vga_dirty_log_start(&qxl->vga); } + memory_region_set_flush_coalesced(&qxl->io_bar); pci_register_bar(&qxl->pci, QXL_IO_RANGE_INDEX, |