Re: [PATCH v2 16/23] x86,vmx: Provide asm-goto-output vmread

From: Sean Christopherson
Date: Tue Dec 14 2021 - 18:07:11 EST


On Tue, Dec 14, 2021, Peter Zijlstra wrote:
> On Tue, Dec 14, 2021 at 06:44:48PM +0000, Sean Christopherson wrote:
> > ---
> > arch/x86/kvm/vmx/vmenter.S | 2 ++
> > arch/x86/kvm/vmx/vmx.c | 7 +++++++
> > arch/x86/kvm/vmx/vmx_ops.h | 31 +++++++++++++++++++++++++++++++
> > 3 files changed, 40 insertions(+)
> >
> > diff --git a/arch/x86/kvm/vmx/vmenter.S b/arch/x86/kvm/vmx/vmenter.S
> > index 3a6461694fc2..d8a7a0a69ec1 100644
> > --- a/arch/x86/kvm/vmx/vmenter.S
> > +++ b/arch/x86/kvm/vmx/vmenter.S
> > @@ -238,6 +238,7 @@ SYM_FUNC_END(__vmx_vcpu_run)
> >
> > .section .text, "ax"
> >
> > +#ifdef CONFIG_CC_HAS_ASM_GOTO_OUTPUT
>
> #ifndef ?

Huh. Yes. Could have sworn my gcc version doesn't have goto with output.