summaryrefslogtreecommitdiff
path: root/qemu/qemu-kvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/qemu-kvm.c')
-rw-r--r--qemu/qemu-kvm.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/qemu/qemu-kvm.c b/qemu/qemu-kvm.c
index c5a58807..e1088be6 100644
--- a/qemu/qemu-kvm.c
+++ b/qemu/qemu-kvm.c
@@ -1136,6 +1136,16 @@ int qemu_kvm_unregister_coalesced_mmio(target_phys_addr_t addr,
return kvm_unregister_coalesced_mmio(kvm_context, addr, size);
}
+int kvm_coalesce_mmio_region(target_phys_addr_t start, ram_addr_t size)
+{
+ return kvm_register_coalesced_mmio(kvm_context, start, size);
+}
+
+int kvm_uncoalesce_mmio_region(target_phys_addr_t start, ram_addr_t size)
+{
+ return kvm_unregister_coalesced_mmio(kvm_context, start, size);
+}
+
#ifdef USE_KVM_DEVICE_ASSIGNMENT
void kvm_add_ioperm_data(struct ioperm_data *data)
{