[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 5/7] memory: Flush coalesced MMIO on mapping and
From: |
Jan Kiszka |
Subject: |
[Qemu-devel] [PATCH v2 5/7] memory: Flush coalesced MMIO on mapping and state changes |
Date: |
Wed, 27 Jun 2012 18:27:27 +0200 |
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 <address@hidden>
---
memory.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/memory.c b/memory.c
index 902a8c1..7cffddf 100644
--- a/memory.c
+++ b/memory.c
@@ -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;
}
--
1.7.3.4
- [Qemu-devel] [PATCH v2 0/7] kvm: Get coalesced MMIO flushing out of the hot-path, Jan Kiszka, 2012/06/27
- [Qemu-devel] [PATCH v2 1/7] i82378: Remove bogus MMIO coalescing, Jan Kiszka, 2012/06/27
- [Qemu-devel] [PATCH v2 2/7] memory: Flush coalesced MMIO on selected region access, Jan Kiszka, 2012/06/27
- [Qemu-devel] [PATCH v2 6/7] VGA: Flush coalesced MMIO on related MMIO/PIO accesses, Jan Kiszka, 2012/06/27
- [Qemu-devel] [PATCH v2 5/7] memory: Flush coalesced MMIO on mapping and state changes,
Jan Kiszka <=
- [Qemu-devel] [PATCH v2 4/7] memory: Fold memory_region_update_topology into memory_region_transaction_commit, Jan Kiszka, 2012/06/27
- [Qemu-devel] [PATCH v2 3/7] memory: Use transaction_begin/commit also for single-step operations, Jan Kiszka, 2012/06/27
- [Qemu-devel] [PATCH v2 7/7] kvm: Stop flushing coalesced MMIO on vmexit, Jan Kiszka, 2012/06/27
- Re: [Qemu-devel] [PATCH v2 0/7] kvm: Get coalesced MMIO flushing out of the hot-path, Avi Kivity, 2012/06/28