From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCHv3 0/4] Add support for some HYPER-V PV features Date: Tue, 19 Jan 2010 14:53:28 +0200 Message-ID: <4B55AB48.60900@redhat.com> References: <1263736284-18780-1-git-send-email-gleb@redhat.com> <4B559A84.1040509@siemens.com> <20100119125024.GN14345@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jan Kiszka , mtosatti@redhat.com, kvm@vger.kernel.org To: Gleb Natapov Return-path: Received: from mx1.redhat.com ([209.132.183.28]:44608 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753007Ab0ASMxb (ORCPT ); Tue, 19 Jan 2010 07:53:31 -0500 In-Reply-To: <20100119125024.GN14345@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 01/19/2010 02:50 PM, Gleb Natapov wrote: > > This should fix it: > Unrelated, but important: > Signed-off-by: Gleb Natapov > diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c > index 47c6e23..147bda7 100644 > --- a/arch/x86/kvm/x86.c > +++ b/arch/x86/kvm/x86.c > @@ -3807,11 +3807,11 @@ int kvm_hv_hypercall(struct kvm_vcpu *vcpu) > longmode = is_long_mode(vcpu)&& cs_l == 1; > > if (!longmode) { > - param = (kvm_register_read(vcpu, VCPU_REGS_RDX)<< 32) | > + param = ((u64)kvm_register_read(vcpu, VCPU_REGS_RDX)<< 32) | > (kvm_register_read(vcpu, VCPU_REGS_RAX)& 0xffffff); > This seems to be written for a 24-bit machine... -- error compiling committee.c: too many arguments to function