aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2010-02-08 10:06:54 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2010-02-08 10:06:54 -0600
commit8217d945860c546844807e22088e8a7d97836aff (patch)
treeb30fa9e9ac08830317d4314c4e11374bc286c813 /exec.c
parent4cb26382182bf5256de1d9058739946d922e9f49 (diff)
parentc5f32c99c6855d466737daf1cd262e7e92062f87 (diff)
Merge remote branch 'qemu-kvm/uq/master' into staging-tmp
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/exec.c b/exec.c
index b0caf7c24f..0fb363b49d 100644
--- a/exec.c
+++ b/exec.c
@@ -2415,6 +2415,12 @@ void qemu_unregister_coalesced_mmio(target_phys_addr_t addr, ram_addr_t size)
kvm_uncoalesce_mmio_region(addr, size);
}
+void qemu_flush_coalesced_mmio_buffer(void)
+{
+ if (kvm_enabled())
+ kvm_flush_coalesced_mmio_buffer();
+}
+
ram_addr_t qemu_ram_alloc(ram_addr_t size)
{
RAMBlock *new_block;