From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Vivier Subject: Re: [PATCH] libkvm: export init for coalesced MMIO support Date: Wed, 18 Jun 2008 09:39:46 +0200 Message-ID: <1213774786.3854.3.camel@frecb07144> References: <20080618052216.GB1486@tapir> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org To: Carlo Marcelo Arenas Belon Return-path: Received: from ecfrec.frec.bull.fr ([129.183.4.8]:59488 "EHLO ecfrec.frec.bull.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750696AbYFRHjx (ORCPT ); Wed, 18 Jun 2008 03:39:53 -0400 In-Reply-To: <20080618052216.GB1486@tapir> Sender: kvm-owner@vger.kernel.org List-ID: Le mercredi 18 juin 2008 =C3=A0 00:22 -0500, Carlo Marcelo Arenas Belon= a =C3=A9crit : > 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 : >=20 > libkvm-x86.c: In function 'kvm_arch_create': > libkvm-x86.c:182: warning: implicit declaration of function 'kvm_in= it_coalesced_mmio' >=20 > Signed-off-by: Carlo Marcelo Arenas Belon Looks good for me. Laurent > --- > libkvm/libkvm.h | 9 +++++++++ > 1 files changed, 9 insertions(+), 0 deletions(-) >=20 > diff --git a/libkvm/libkvm.h b/libkvm/libkvm.h > index a33e9db..4fd8587 100644 > --- a/libkvm/libkvm.h > +++ b/libkvm/libkvm.h > @@ -576,6 +576,15 @@ int kvm_set_lapic(kvm_context_t kvm, int vcpu, s= truct kvm_lapic_state *s); > */ > int kvm_pit_in_kernel(kvm_context_t kvm); > =20 > +/*! > + * \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 > =20 > #if defined(__i386__) || defined(__x86_64__) --=20 ------------- Laurent.Vivier@bull.net --------------- "The best way to predict the future is to invent it." - Alan Kay