Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 69552c29 authored by Xiao Guangrong's avatar Xiao Guangrong Committed by Avi Kivity
Browse files

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: default avatarXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 12ce13fe
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)
{