KVM/nVMX: Use page_address_valid in a few more locations
authorKarimAllah Ahmed <karahmed@amazon.de>
Thu, 31 Jan 2019 20:24:43 +0000 (21:24 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 30 Apr 2019 19:49:44 +0000 (21:49 +0200)
commite0bf2665ca26c1f6d6909de29bd382e7a5ee41e7
treec3d4d7e2ff57d00472bcb6f490d546175055d803
parentdee9c0493108b36e89d289c8fd6f4c90321d0d5e
KVM/nVMX: Use page_address_valid in a few more locations

Use page_address_valid in a few more locations that is already checking for
a page aligned address that does not cross the maximum physical address.

Signed-off-by: KarimAllah Ahmed <karahmed@amazon.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/nested.c