From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Subject: Re: [PATCH 1/2] kvm/powerpc: rename kvm_hypercall() to epapr_hypercall() Date: Wed, 2 Oct 2013 11:40:29 -0500 Message-ID: <1380732029.12932.3.camel@snotra.buserror.net> References: <1379913839-11347-1-git-send-email-Bharat.Bhushan@freescale.com> <1379913839-11347-2-git-send-email-Bharat.Bhushan@freescale.com> <90F2E123-022D-4F4E-A350-44CA1051B484@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Bharat Bhushan , , , Bharat Bhushan To: Alexander Graf Return-path: In-Reply-To: <90F2E123-022D-4F4E-A350-44CA1051B484@suse.de> Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Wed, 2013-10-02 at 16:19 +0200, Alexander Graf wrote: > On 23.09.2013, at 07:23, Bharat Bhushan wrote: > > static inline long kvm_hypercall0_1(unsigned int nr, unsigned long *r2) > > @@ -65,7 +54,7 @@ static inline long kvm_hypercall0_1(unsigned int nr, unsigned long *r2) > > unsigned long out[8]; > > unsigned long r; > > > > - r = kvm_hypercall(in, out, KVM_HCALL_TOKEN(nr)); > > + r = epapr_hypercall(in, out, KVM_HCALL_TOKEN(nr)); > > Won't this break when CONFIG_EPAPR_PARAVIRT=n? We wouldn't have epapr_hcalls.S compiled into the code base then and the bl above would reference an unknown function. KVM_GUEST selects EPAPR_PARAVIRT. -Scott