summaryrefslogtreecommitdiff
path: root/qemu-kvm.h
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2010-05-03 19:48:20 -0300
committerAvi Kivity <avi@redhat.com>2010-05-05 11:49:36 +0300
commit6daf734f1f1ba9f56c2cac5becb56f6598768f1b (patch)
tree9385b78643a923f227a072aabe2189872cffd645 /qemu-kvm.h
parente8600b7e56744e0ca9df45eeb8916e42811a1a01 (diff)
remove alias support
Aliases were added to workaround kvm's inability to destroy memory regions. This was fixed in 2.6.29, and advertised via KVM_CAP_DESTROY_MEMORY_REGION_WORKS. Also, alias support will be removed from the kernel in July 2010. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'qemu-kvm.h')
-rw-r--r--qemu-kvm.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/qemu-kvm.h b/qemu-kvm.h
index ba3808a83..31aee7767 100644
--- a/qemu-kvm.h
+++ b/qemu-kvm.h
@@ -400,23 +400,6 @@ int kvm_unregister_coalesced_mmio(kvm_context_t kvm, uint64_t addr,
uint32_t size);
/*!
- * \brief Create a memory alias
- *
- * Aliases a portion of physical memory to another portion. If the guest
- * accesses the alias region, it will behave exactly as if it accessed
- * the target memory.
- */
-int kvm_create_memory_alias(kvm_context_t, uint64_t phys_start, uint64_t len,
- uint64_t target_phys);
-
-/*!
- * \brief Destroy a memory alias
- *
- * Removes an alias created with kvm_create_memory_alias().
- */
-int kvm_destroy_memory_alias(kvm_context_t, uint64_t phys_start);
-
-/*!
* \brief Get a bitmap of guest ram pages which are allocated to the guest.
*
* \param kvm Pointer to the current kvm_context
@@ -651,15 +634,6 @@ int kvm_deassign_irq(kvm_context_t kvm, struct kvm_assigned_irq *assigned_irq);
#endif
#endif
-/*!
- * \brief Determines whether destroying memory regions is allowed
- *
- * KVM before 2.6.29 had a bug when destroying memory regions.
- *
- * \param kvm Pointer to the current kvm_context
- */
-int kvm_destroy_memory_region_works(kvm_context_t kvm);
-
#ifdef KVM_CAP_DEVICE_DEASSIGNMENT
/*!
* \brief Notifies host kernel about a PCI device to be deassigned from a guest