summaryrefslogtreecommitdiff
path: root/libkvm
diff options
context:
space:
mode:
authorCarlo Marcelo Arenas Belon <carenas@sajinet.com.pe>2008-06-18 00:22:16 -0500
committerAvi Kivity <avi@qumranet.com>2008-06-18 07:26:57 -0700
commit2156ea722206a9242efe6b2c250f3a3ea7b9a8bc (patch)
tree82eeb8d23d45332d7b43c1116f7aafc16cf8fea9 /libkvm
parent168c597938f6b5b2ae6e4b222460aaf8529b5720 (diff)
kvm: libkvm: export init for coalesced MMIO support
complement 2680f3df932a3119880a692609943587ecc8f409 to export the definition for kvm_init_coalesced_mmio as it is used by the per arch libkvm as shown by the following warning : libkvm-x86.c: In function 'kvm_arch_create': libkvm-x86.c:182: warning: implicit declaration of function 'kvm_init_coalesced_mmio' Signed-off-by: Carlo Marcelo Arenas Belon <carenas@sajinet.com.pe> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'libkvm')
-rw-r--r--libkvm/libkvm.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libkvm/libkvm.h b/libkvm/libkvm.h
index a33e9db2..ad6e26a7 100644
--- a/libkvm/libkvm.h
+++ b/libkvm/libkvm.h
@@ -576,6 +576,15 @@ int kvm_set_lapic(kvm_context_t kvm, int vcpu, struct kvm_lapic_state *s);
*/
int kvm_pit_in_kernel(kvm_context_t kvm);
+/*!
+ * \brief Initialize coalesced MMIO
+ *
+ * Check for coalesced MMIO capability and store in context
+ *
+ * \param kvm Pointer to the current kvm_context
+ */
+int kvm_init_coalesced_mmio(kvm_context_t kvm);
+
#ifdef KVM_CAP_PIT
#if defined(__i386__) || defined(__x86_64__)