KVM: VMX: Use GPA legality helpers to replace open coded equivalents
authorSean Christopherson <seanjc@google.com>
Thu, 4 Feb 2021 00:01:10 +0000 (16:01 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Feb 2021 14:27:28 +0000 (09:27 -0500)
commit636e8b733491135aacf9d1dfd23d9e77637f1198
tree7746e46c56e069d01865faf79558a376d3cb4536
parentda6c6a7c06e268f53c0560edc9dff372f11218f5
KVM: VMX: Use GPA legality helpers to replace open coded equivalents

Replace a variety of open coded GPA checks with the recently introduced
common helpers.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210204000117.3303214-6-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/nested.c
arch/x86/kvm/vmx/vmx.c