Skip to content
Snippets Groups Projects
Commit bb880ded authored by Jan Kiszka's avatar Jan Kiszka Committed by Marcelo Tosatti
Browse files

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: default avatarJan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
parent 02e2b95f
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment