On Thu, Sep 13, 2012 at 11:27:43AM +0300, Avi Kivity wrote: > 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. Ok can you add it please? It always depends how the LTO partitioner decides to split the subunits. I can run it with randomconfig in a loop over night. That's the best way I know to try to cover these cases. -Andi -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html