Re: [Xen-devel] [PATCH 9/9] x86/amd: Offer MSR_VIRT_SPEC_CTRL to guests

2018-12-06 Thread Jan Beulich
>>> On 03.12.18 at 17:18, wrote: > --- a/xen/arch/x86/cpuid.c > +++ b/xen/arch/x86/cpuid.c > @@ -370,6 +370,16 @@ static void __init > guest_common_feature_adjustments(uint32_t *fs) > */ > if ( host_cpuid_policy.feat.ibrsb ) > __set_bit(X86_FEATURE_IBPB, fs); > + > +/* >

[Xen-devel] [PATCH 9/9] x86/amd: Offer MSR_VIRT_SPEC_CTRL to guests

2018-12-03 Thread Andrew Cooper
With all other infrastructure now in place, offer X86_FEATURE_VIRT_SC_SSBD to guests in cases where Xen thinks it has a working LEGACY_SSBD interface. Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Wei Liu CC: Roger Pau Monné CC: Brian Woods --- xen/arch/x86/cpuid.c