diff options
author | Sean Christopherson <seanjc@google.com> | 2021-02-04 01:01:09 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-02-04 15:27:27 +0100 |
commit | da6c6a7c06e268f53c0560edc9dff372f11218f5 (patch) | |
tree | c5f52ff309825abfa9242b6497ce3ed3608e551f /arch/x86/kvm/vmx | |
parent | KVM: x86: Add a helper to check for a legal GPA (diff) | |
download | linux-da6c6a7c06e268f53c0560edc9dff372f11218f5.tar.xz linux-da6c6a7c06e268f53c0560edc9dff372f11218f5.zip |
KVM: x86: Add a helper to handle legal GPA with an alignment requirement
Add a helper to genericize checking for a legal GPA that also must
conform to an arbitrary alignment, and use it in the existing
page_address_valid(). Future patches will replace open coded variants
in VMX and SVM.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210204000117.3303214-5-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx')
0 files changed, 0 insertions, 0 deletions