KVM: x86: Rename GPR accessors to make mode-aware variants the defaults
authorSean Christopherson <seanjc@google.com>
Thu, 22 Apr 2021 02:21:28 +0000 (19:21 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 26 Apr 2021 09:27:13 +0000 (05:27 -0400)
commit27b4a9c4549c085d355cec5dc566f7ae58639f71
treeb8a8b0acdb18874fca9265c6d834328ceb956b8f
parentbc9eff67fc35d733e2de0e0017dc3f5a86e8daf8
KVM: x86: Rename GPR accessors to make mode-aware variants the defaults

Append raw to the direct variants of kvm_register_read/write(), and
drop the "l" from the mode-aware variants.  I.e. make the mode-aware
variants the default, and make the direct variants scary sounding so as
to discourage use.  Accessing the full 64-bit values irrespective of
mode is rarely the desired behavior.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210422022128.3464144-10-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/kvm_cache_regs.h
arch/x86/kvm/svm/svm.c
arch/x86/kvm/vmx/nested.c
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/x86.c
arch/x86/kvm/x86.h
arch/x86/kvm/xen.c