提交 12264760 编写于 作者: D Dor Laor 提交者: Avi Kivity

KVM: Add make_page_dirty() to kvm_clear_guest_page()

Every write access to guest pages should be tracked.
Signed-off-by: NDor Laor <dor.laor@qumranet.com>
Signed-off-by: NIzik Eidus <izike@qumranet.com>
Signed-off-by: NAvi Kivity <avi@qumranet.com>
上级 b6c7a5dc
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册