diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2014-01-01 16:09:21 +0100 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2014-04-22 13:24:35 +0200 |
commit | dfeec843fb237d73947e818f961e8d6f0df22b01 (patch) | |
tree | a5e854b8a77d0fd241f1d2d2dfc8bdf019b95d04 /arch/s390/kvm/kvm-s390.h | |
parent | bcd846837c43ccccc932036d5a634bee48f1ff4f (diff) | |
download | kernel_replicant_linux-dfeec843fb237d73947e818f961e8d6f0df22b01.tar.gz kernel_replicant_linux-dfeec843fb237d73947e818f961e8d6f0df22b01.tar.bz2 kernel_replicant_linux-dfeec843fb237d73947e818f961e8d6f0df22b01.zip |
KVM: add kvm_is_error_gpa() helper
It's quite common (in the s390 guest access code) to test if a guest
physical address points to a valid guest memory area or not.
So add a simple helper function in common code, since this might be
of interest for other architectures as well.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/kvm/kvm-s390.h')
0 files changed, 0 insertions, 0 deletions