Skip to content

Cleanup the registers read/write access

Yang Zhong kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: VMX: Keep registers read/write consistent with definitionarch/x86/kvm/vmx/vmx.c+6 -52 replies
2/2KVM: SVM: Keep registers read/write consistent with definitionarch/x86/kvm/svm/nested.c arch/x86/kvm/svm/sev.c arch/x86/kvm/svm/svm.c+44 -430 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] Cleanup the registers read/write access

The KVM has defined the GP registers and pointer register access methods in the ./arch/x86/kvm/kvm_cache_regs.h file, but there are still some GP and pointer registers access using older style. We should keep those registers access consistent in vmx and svm.

Yang Zhong (2):
KVM: VMX: Keep registers read/write consistent with definition
KVM: SVM: Keep registers read/write consistent with definition

 arch/x86/kvm/svm/nested.c |  2 +-
 arch/x86/kvm/svm/sev.c    | 65 ++++++++++++++++++++-------------------
 arch/x86/kvm/svm/svm.c    | 20 ++++++------
 arch/x86/kvm/vmx/vmx.c    | 11 ++++---
 4 files changed, 50 insertions(+), 48 deletions(-)
Signature · 1 line
2.29.2.334.gfaefdd61ec