diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-08-23 13:02:32 +0200 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2012-09-11 18:15:34 -0300 |
commit | bb880ded7a6a77b2a7818e6302ac55fbd9ba5e86 (patch) | |
tree | af2834489939ae069041e14476bf6d36f7f16388 /memory.c | |
parent | 02e2b95fb4bcf8b0a512c5eb449cfb9a1ea3d3b7 (diff) |
memory: Flush coalesced MMIO on mapping and state changes
Flush pending coalesced MMIO before performing mapping or state changes
that could affect the event orderings or route the buffered requests to
a wrong region.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'memory.c')
-rw-r--r-- | memory.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -733,6 +733,7 @@ static void address_space_update_topology(AddressSpace *as) void memory_region_transaction_begin(void) { + qemu_flush_coalesced_mmio_buffer(); ++memory_region_transaction_depth; } |