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