OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6c7a5d
)
KVM: Add make_page_dirty() to kvm_clear_guest_page()
author
Dor Laor
<dor.laor@qumranet.com>
Wed, 7 Nov 2007 14:20:06 +0000
(16:20 +0200)
committer
Avi Kivity
<avi@qumranet.com>
Wed, 30 Jan 2008 15:53:00 +0000
(17:53 +0200)
Every write access to guest pages should be tracked.
Signed-off-by: Dor Laor <dor.laor@qumranet.com>
Signed-off-by: Izik Eidus <izike@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm_main.c
patch
|
blob
|
history
diff --git
a/drivers/kvm/kvm_main.c
b/drivers/kvm/kvm_main.c
index
8665531
..
8d6e55f
100644
(file)
--- a/
drivers/kvm/kvm_main.c
+++ b/
drivers/kvm/kvm_main.c
@@
-706,6
+706,7
@@
int kvm_clear_guest_page(struct kvm *kvm, gfn_t gfn, int offset, int len)
kunmap_atomic(page_virt, KM_USER0);
kvm_release_page(page);
+ mark_page_dirty(kvm, gfn);
return 0;
}
EXPORT_SYMBOL_GPL(kvm_clear_guest_page);