Revision bd8f2f5d hw/vga.c

b/hw/vga.c
361 361
    VGACommonState *s = opaque;
362 362
    int val, index;
363 363

  
364
    qemu_flush_coalesced_mmio_buffer();
365

  
364 366
    if (vga_ioport_invalid(s, addr)) {
365 367
        val = 0xff;
366 368
    } else {
......
453 455
    VGACommonState *s = opaque;
454 456
    int index;
455 457

  
458
    qemu_flush_coalesced_mmio_buffer();
459

  
456 460
    /* check port range access depending on color/monochrome mode */
457 461
    if (vga_ioport_invalid(s, addr)) {
458 462
        return;
......
2338 2342
    vga_mem = g_malloc(sizeof(*vga_mem));
2339 2343
    memory_region_init_io(vga_mem, &vga_mem_ops, s,
2340 2344
                          "vga-lowmem", 0x20000);
2345
    memory_region_set_flush_coalesced(vga_mem);
2341 2346

  
2342 2347
    return vga_mem;
2343 2348
}

Also available in: Unified diff