diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2013-07-02 21:37:40 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-10-17 17:24:15 +0200 |
commit | c46860ea53854a96b11af0d6e23b623ce199e95e (patch) | |
tree | fbd87af49eb10754c1109a2eaeb155e30ced74b8 /hw/display/qxl.c | |
parent | eb25a1d9d4e88f4dd41702e35199ce4bbd7d1cee (diff) |
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 <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/display/qxl.c')
-rw-r--r-- | hw/display/qxl.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |