libkvm: export init for coalesced MMIO support
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
@@ -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
Le mercredi 18 juin 2008 à 00:22 -0500, Carlo Marcelo Arenas Belon a écrit :
Quoted 8 lines
complement
2680f3df932a3119880a692609943587ecc8f409to export the definition forkvm_init_coalesced_mmioas 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 <[email protected]>
Looks good for me.
Laurent
Quoted 24 lines
--- libkvm/libkvm.h | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-)libkvm/libkvm.h +9
-0@@ -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
Avi Kivity
AppliedQuoted 5 lines · Carlo Marcelo Arenas Belon
complement
2680f3df932a3119880a692609943587ecc8f409to export the definition forkvm_init_coalesced_mmioas 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.