From c46860ea53854a96b11af0d6e23b623ce199e95e Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Tue, 2 Jul 2013 21:37:40 +0200 Subject: vga: Mark relevant portio lists regions as coalesced MMIO flushing This allows to remove the explicit qemu_flush_coalesced_mmio_buffer calls. Signed-off-by: Jan Kiszka Signed-off-by: Paolo Bonzini --- hw/display/qxl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/display/qxl.c') diff --git a/hw/display/qxl.c b/hw/display/qxl.c index ee2db0da1a..3051006765 100644 --- a/hw/display/qxl.c +++ b/hw/display/qxl.c @@ -2074,6 +2074,7 @@ static int qxl_init_primary(PCIDevice *dev) pci_address_space(dev), pci_address_space_io(dev), false); portio_list_init(qxl_vga_port_list, OBJECT(dev), qxl_vga_portio_list, vga, "vga"); + portio_list_set_flush_coalesced(qxl_vga_port_list); portio_list_add(qxl_vga_port_list, pci_address_space_io(dev), 0x3b0); vga->con = graphic_console_init(DEVICE(dev), &qxl_ops, qxl); -- cgit v1.2.3