Re: [PATCH 1/8] KVM: x86: add SPEC_CTRL and IBPB_SUPPORT accessors

2018-01-15 Thread David Hildenbrand
On 09.01.2018 13:03, Paolo Bonzini wrote: > As an interim measure until SPEC_CTRL is supported by upstream > Linux in cpufeatures, add a function that lets vmx.c and svm.c > know whether to save/restore MSR_IA32_SPEC_CTRL. > > Reviewed-by: Konrad Rzeszutek Wilk > Signed-off-by: Paolo Bonzini > -

Re: [PATCH 1/8] KVM: x86: add SPEC_CTRL and IBPB_SUPPORT accessors

2018-01-09 Thread Liran Alon
- pbonz...@redhat.com wrote: > As an interim measure until SPEC_CTRL is supported by upstream > Linux in cpufeatures, add a function that lets vmx.c and svm.c > know whether to save/restore MSR_IA32_SPEC_CTRL. > > Reviewed-by: Konrad Rzeszutek Wilk > Signed-off-by: Paolo Bonzini > --- > a

[PATCH 1/8] KVM: x86: add SPEC_CTRL and IBPB_SUPPORT accessors

2018-01-09 Thread Paolo Bonzini
As an interim measure until SPEC_CTRL is supported by upstream Linux in cpufeatures, add a function that lets vmx.c and svm.c know whether to save/restore MSR_IA32_SPEC_CTRL. Reviewed-by: Konrad Rzeszutek Wilk Signed-off-by: Paolo Bonzini --- arch/x86/kvm/cpuid.c | 3 --- arch/x86/kvm/cpuid.h