Re: [PATCH v6 5/5] KVM: SVM: Allow direct access to MSR_IA32_SPEC_CTRL

2018-02-02 Thread Konrad Rzeszutek Wilk
On Thu, Feb 01, 2018 at 10:59:46PM +0100, KarimAllah Ahmed wrote: > [ Based on a patch from Paolo Bonzini ] > > ... basically doing exactly what we do for VMX: > > - Passthrough SPEC_CTRL to guests (if enabled in guest CPUID) > - Save and restore SPEC_CTRL around VMExit and VMEntry only if the g

Re: [PATCH v6 5/5] KVM: SVM: Allow direct access to MSR_IA32_SPEC_CTRL

2018-02-02 Thread Darren Kenny
On Thu, Feb 01, 2018 at 10:59:46PM +0100, KarimAllah Ahmed wrote: [ Based on a patch from Paolo Bonzini ] ... basically doing exactly what we do for VMX: - Passthrough SPEC_CTRL to guests (if enabled in guest CPUID) - Save and restore SPEC_CTRL around VMExit and VMEntry only if the guest actu