Re: [PATCH v2] KVM: x86: allow compiling out the Xen hypercall interface

2021-03-01 Thread Sean Christopherson
On Mon, Mar 01, 2021, Woodhouse, David wrote: > On Fri, 2021-02-26 at 06:57 -0500, Paolo Bonzini wrote: > > + depends on KVM && IA32_FEAT_CTL > > Hm, why IA32_FEAT_CTL? Ya, unless Xen support is Intel-only, that's a bug.

Re: [PATCH v2] KVM: x86: allow compiling out the Xen hypercall interface

2021-03-01 Thread Woodhouse, David
On Fri, 2021-02-26 at 06:57 -0500, Paolo Bonzini wrote: > + depends on KVM && IA32_FEAT_CTL Hm, why IA32_FEAT_CTL? Amazon Development Centre (London) Ltd. Registered in England and Wales with registration number 04543232 with its registered office at 1 Principal Place, Worship Street, L

Re: [PATCH v2] KVM: x86: allow compiling out the Xen hypercall interface

2021-03-01 Thread Woodhouse, David
On Fri, 2021-02-26 at 06:57 -0500, Paolo Bonzini wrote: > The Xen hypercall interface adds to the attack surface of the hypervisor > and will be used quite rarely. Allow compiling it out. > > Suggested-by: Christoph Hellwig > Cc: David Woodhouse > Signed-off-by: Paolo Bonzini Reviewed-by: Dav