projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12ce13f
)
KVM: introduce KVM_PFN_ERR_RO_FAULT
author
Xiao Guangrong
<xiaoguangrong@linux.vnet.ibm.com>
Tue, 21 Aug 2012 03:01:19 +0000
(11:01 +0800)
committer
Avi Kivity
<avi@redhat.com>
Wed, 22 Aug 2012 12:08:57 +0000
(15:08 +0300)
In the later patch, it indicates failure when we try to get a writable
pfn from the readonly memslot
Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
include/linux/kvm_host.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/kvm_host.h
b/include/linux/kvm_host.h
index 52c86e4f6d8ce39736f76b123176269ba4d96f19..4fd33e03d5dc589bd3a2c3bdbf1597dfc22e8f8a 100644
(file)
--- 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)
{