kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Cleanup the registers read/write access
@ 2021-04-22  9:34 Yang Zhong
  2021-04-22  9:34 ` [PATCH 1/2] KVM: VMX: Keep registers read/write consistent with definition Yang Zhong
  2021-04-22  9:34 ` [PATCH 2/2] KVM: SVM: " Yang Zhong
  0 siblings, 2 replies; 5+ messages in thread
From: Yang Zhong @ 2021-04-22  9:34 UTC (permalink / raw)
  To: kvm; +Cc: pbonzini, seanjc, yang.zhong

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(-)

-- 
2.29.2.334.gfaefdd61ec


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-04-24 12:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-22  9:34 [PATCH 0/2] Cleanup the registers read/write access Yang Zhong
2021-04-22  9:34 ` [PATCH 1/2] KVM: VMX: Keep registers read/write consistent with definition Yang Zhong
2021-04-22 10:38   ` Paolo Bonzini
2021-04-24 12:31     ` Yang Zhong
2021-04-22  9:34 ` [PATCH 2/2] KVM: SVM: " Yang Zhong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).