Commit:     12264760e46077a65c1240ac0b27dfa34b402158
Parent:     b6c7a5dccf9471f4891df722dbd0700ce56eb2e2
Author:     Dor Laor <[EMAIL PROTECTED]>
AuthorDate: Wed Nov 7 16:20:06 2007 +0200
Committer:  Avi Kivity <[EMAIL PROTECTED]>
CommitDate: Wed Jan 30 17:53:00 2008 +0200

    KVM: Add make_page_dirty() to kvm_clear_guest_page()
    Every write access to guest pages should be tracked.
    Signed-off-by: Dor Laor <[EMAIL PROTECTED]>
    Signed-off-by: Izik Eidus <[EMAIL PROTECTED]>
    Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
 drivers/kvm/kvm_main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c
index 8665531..8d6e55f 100644
--- 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);
+       mark_page_dirty(kvm, gfn);
        return 0;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to