[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 6/9] memory: Flush coalesced MMIO on mapping and sta
From: |
Marcelo Tosatti |
Subject: |
[Qemu-devel] [PATCH 6/9] memory: Flush coalesced MMIO on mapping and state changes |
Date: |
Tue, 11 Sep 2012 18:26:34 -0300 |
From: Jan Kiszka <address@hidden>
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>
Signed-off-by: Marcelo Tosatti <address@hidden>
---
memory.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/memory.c b/memory.c
index 4deeeac..4f3ade0 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.6.4
- [Qemu-devel] [PATCH 0/9] [PULL] qemu-kvm.git uq/master queue, Marcelo Tosatti, 2012/09/11
- [Qemu-devel] [PATCH 3/9] memory: Flush coalesced MMIO on selected region access, Marcelo Tosatti, 2012/09/11
- [Qemu-devel] [PATCH 2/9] kvm-all.c: Move init of irqchip_inject_ioctl out of kvm_irqchip_create(), Marcelo Tosatti, 2012/09/11
- [Qemu-devel] [PATCH 7/9] VGA: Flush coalesced MMIO on related MMIO/PIO accesses, Marcelo Tosatti, 2012/09/11
- [Qemu-devel] [PATCH 9/9] kvm: Rename irqchip_inject_ioctl to irq_set_ioctl, Marcelo Tosatti, 2012/09/11
- [Qemu-devel] [PATCH 5/9] memory: Fold memory_region_update_topology into memory_region_transaction_commit, Marcelo Tosatti, 2012/09/11
- [Qemu-devel] [PATCH 1/9] update-linux-headers.sh: Don't hard code list of architectures, Marcelo Tosatti, 2012/09/11
- [Qemu-devel] [PATCH 8/9] kvm: Stop flushing coalesced MMIO on vmexit, Marcelo Tosatti, 2012/09/11
- [Qemu-devel] [PATCH 6/9] memory: Flush coalesced MMIO on mapping and state changes,
Marcelo Tosatti <=
- [Qemu-devel] [PATCH 4/9] memory: Use transaction_begin/commit also for single-step operations, Marcelo Tosatti, 2012/09/11
- Re: [Qemu-devel] [PATCH 0/9] [PULL] qemu-kvm.git uq/master queue, Anthony Liguori, 2012/09/17