Skip to content

RFC Get supported_xss ready for XSS dependent

Yang Weijiang kvm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3KVM: x86: Add helpers for {set|clear} bits in supported_xssarch/x86/kvm/x86.c+20 -00 replies
2/3KVM: x86: Refresh CPUID when guest modifies MSR_IA32_XSSarch/x86/include/asm/kvm_host.h arch/x86/kvm/cpuid.c arch/x86/kvm/x86.c+24 -50 replies
3/3KVM: x86: Load guest fpu state when accessing MSRs managed by XSAVESarch/x86/kvm/vmx/vmx.c arch/x86/kvm/x86.c+44 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/3] Get supported_xss ready for XSS dependent

Although supported_xss was added long time ago, yet it doesn't get ready for XSS dependent new features usage, e.g., when guest update XSS MSRs, it's necessary to update guest CPUID to reflect the correct info. So post this patchset to get things ready, or at least as a hint to maintainers that there're still a few things left before support feature bits in XSS.

Also added a few helpers to facilitate new features development. This part of code originates from CET KVM patchset, with more and more new features dependent on this part, post this patchset ahead of them.

Sean Christopherson (2):
KVM: x86: Add helpers for {set|clear} bits in supported_xss
KVM: x86: Load guest fpu state when accessing MSRs managed by XSAVES

Yang Weijiang (1):
KVM: x86: Refresh CPUID when guest modifies MSR_IA32_XSS

 arch/x86/include/asm/kvm_host.h |  1 +
 arch/x86/kvm/cpuid.c            | 21 ++++++++++++--
 arch/x86/kvm/vmx/vmx.c          | 22 +++++++++++++++
 arch/x86/kvm/x86.c              | 50 +++++++++++++++++++++++++++++++--
 4 files changed, 88 insertions(+), 6 deletions(-)
Signature · 1 line
2.17.2