From: Heiko Carstens Date: Wed, 1 Jan 2014 15:09:21 +0000 (+0100) Subject: KVM: add kvm_is_error_gpa() helper X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~8^2~67^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfeec843fb237d73947e818f961e8d6f0df22b01;p=pandora-kernel.git 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 Reviewed-by: Thomas Huth Reviewed-by: Cornelia Huck Signed-off-by: Christian Borntraeger --- Reading git-diff-tree failed