From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 0/3] Prepare kvm for lto Date: Thu, 13 Sep 2012 11:27:43 +0300 Message-ID: <505198FF.2020501@redhat.com> References: <1347461444-3644-1-git-send-email-avi@redhat.com> <20120912191736.GA4092@tassilo.jf.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , kvm@vger.kernel.org To: Andi Kleen Return-path: Received: from mx1.redhat.com ([209.132.183.28]:1850 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756749Ab2IMI1s (ORCPT ); Thu, 13 Sep 2012 04:27:48 -0400 In-Reply-To: <20120912191736.GA4092@tassilo.jf.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: On 09/12/2012 10:17 PM, Andi Kleen wrote: > On Wed, Sep 12, 2012 at 05:50:41PM +0300, Avi Kivity wrote: >> vmx.c has an lto-unfriendly bit, fix it up. >> >> While there, clean up our asm code. >> >> Avi Kivity (3): >> KVM: VMX: Make lto-friendly >> KVM: VMX: Make use of asm.h >> KVM: SVM: Make use of asm.h > > Works for me in my LTO build, thanks Avi. > I cannot guarantee I always hit the unit splitting case, but it looks > good so far. Actually I think patch 1 is missing a .global vmx_return. -- error compiling committee.c: too many arguments to function