KVM: x86: Refactor up kvm_{g,s}et_msr() to simplify callers
authorSean Christopherson <sean.j.christopherson@intel.com>
Thu, 5 Sep 2019 21:22:54 +0000 (14:22 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 10 Sep 2019 17:18:14 +0000 (19:18 +0200)
commitf20935d85a23c33f5361661747ffa975549f56d5
treece19f276e152a813764e1d5aec33396788ba7cc7
parentb274a290813998d4cc7ad54e28ca8df2708c410c
KVM: x86: Refactor up kvm_{g,s}et_msr() to simplify callers

Refactor the top-level MSR accessors to take/return the index and value
directly instead of requiring the caller to dump them into a msr_data
struct.

No functional change intended.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/svm.c
arch/x86/kvm/vmx/nested.c
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/x86.c