aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2021-02-03 16:01:09 -0800
committerPaolo Bonzini <[email protected]>2021-02-04 09:27:27 -0500
commitda6c6a7c06e268f53c0560edc9dff372f11218f5 (patch)
treec5f52ff309825abfa9242b6497ce3ed3608e551f /lib/mpi/mpi-mod.c
parent4bda0e97868a95553ba71d87f593756e1ffd654b (diff)
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 <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions