Re: [PATCH] KVM: x86: Expose Predictive Store Forwarding Disable

From: Paolo Bonzini
Date: Thu Sep 30 2021 - 09:42:05 EST


On 29/09/21 22:27, Babu Moger wrote:

On 9/28/21 11:04 AM, Paolo Bonzini wrote:
On 24/09/21 03:15, Babu Moger wrote:
  arch/x86/include/asm/cpufeatures.h |    1 +
  arch/x86/kvm/cpuid.c               |    2 +-
  2 files changed, 2 insertions(+), 1 deletion(-)
Queued, with a private #define instead of the one in cpufeatures.h:
Thanks Paolo. Don't we need change in guest_has_spec_ctrl_msr?

Not strictly necessary unless you expect processors to have PSFD and not SSBD; but yes it's cleaner.

Paolo