[PATCH 0/2] More cleanups to MSR interception code

Chao Gao posted 2 patches 4 months ago
arch/x86/kvm/svm/sev.c |  8 +++-----
arch/x86/kvm/svm/svm.c | 23 +++++++++--------------
arch/x86/kvm/svm/svm.h | 10 +---------
arch/x86/kvm/vmx/vmx.c | 25 +++++++++----------------
arch/x86/kvm/vmx/vmx.h | 10 +---------
5 files changed, 23 insertions(+), 53 deletions(-)
[PATCH 0/2] More cleanups to MSR interception code
Posted by Chao Gao 4 months ago
Deduplicate MSR interception APIs and simplify the handling of IA32_XSS
MSR. This series builds upon Sean's MSR cleanups series [*]

[*]: https://lore.kernel.org/kvm/20250610225737.156318-1-seanjc@google.com/

Note that this series has been tested on Intel hardware only.

Chao Gao (2):
  KVM: x86: Deduplicate MSR interception enabling and disabling
  KVM: SVM: Simplify MSR interception logic for IA32_XSS MSR

 arch/x86/kvm/svm/sev.c |  8 +++-----
 arch/x86/kvm/svm/svm.c | 23 +++++++++--------------
 arch/x86/kvm/svm/svm.h | 10 +---------
 arch/x86/kvm/vmx/vmx.c | 25 +++++++++----------------
 arch/x86/kvm/vmx/vmx.h | 10 +---------
 5 files changed, 23 insertions(+), 53 deletions(-)

-- 
2.47.1
Re: [PATCH 0/2] More cleanups to MSR interception code
Posted by Sean Christopherson 3 months, 2 weeks ago
On Thu, 12 Jun 2025 01:19:45 -0700, Chao Gao wrote:
> Deduplicate MSR interception APIs and simplify the handling of IA32_XSS
> MSR. This series builds upon Sean's MSR cleanups series [*]
> 
> [*]: https://lore.kernel.org/kvm/20250610225737.156318-1-seanjc@google.com/
> 
> Note that this series has been tested on Intel hardware only.
> 
> [...]

Applied to kvm-x86 misc, thanks!

[1/2] KVM: x86: Deduplicate MSR interception enabling and disabling
      https://github.com/kvm-x86/linux/commit/3f06b8927afa
[2/2] KVM: SVM: Simplify MSR interception logic for IA32_XSS MSR
      https://github.com/kvm-x86/linux/commit/05186d7a8e5b

--
https://github.com/kvm-x86/kvm-unit-tests/tree/next