Skip to contentSkip to conversation

libkvm: export init for coalesced MMIO support

PATCH Applied Carlo Marcelo Arenas Belon 3 participants 3 messages Jun 18, 2008 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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'

---
 libkvm/libkvm.h |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
libkvm/libkvm.h +9 -0
index a33e9db..4fd8587 100644
@@ -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__)
Signature · 1 line
1.5.4.5
#1 lore raw

Le mercredi 18 juin 2008 à 00:22 -0500, Carlo Marcelo Arenas Belon a écrit :

Quoted 8 lines

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'

Looks good for me.

Laurent

Quoted 24 lines
---
 libkvm/libkvm.h |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
libkvm/libkvm.h +9 -0
index a33e9db..4fd8587 100644
@@ -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__)
Signature · 3 lines
------------- [email protected] ---------------
"The best way to predict the future is to invent it."
- Alan Kay
Applied
#2 lore raw
In reply to Carlo Marcelo Arenas Belon
Quoted 5 lines · Carlo Marcelo Arenas Belon

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 :

Applied, thanks.

Signature · 2 lines
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.