From: Xiao Guangrong Date: Tue, 21 Aug 2012 03:01:19 +0000 (+0800) Subject: KVM: introduce KVM_PFN_ERR_RO_FAULT X-Git-Tag: v3.7-rc1~113^2~47 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=69552c295e3df1431801526b5b705a0e130c920d;p=platform%2Fkernel%2Flinux-exynos.git KVM: introduce KVM_PFN_ERR_RO_FAULT In the later patch, it indicates failure when we try to get a writable pfn from the readonly memslot Signed-off-by: Xiao Guangrong Signed-off-by: Avi Kivity --- diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 52c86e4..4fd33e0 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h @@ -65,6 +65,7 @@ #define KVM_PFN_ERR_FAULT (KVM_PFN_ERR_MASK) #define KVM_PFN_ERR_HWPOISON (KVM_PFN_ERR_MASK + 1) #define KVM_PFN_ERR_BAD (KVM_PFN_ERR_MASK + 2) +#define KVM_PFN_ERR_RO_FAULT (KVM_PFN_ERR_MASK + 3) static inline bool is_error_pfn(pfn_t pfn) {