commit | 760db773fbd0ad2ece89393218c4a4213b5bae6a | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@qumranet.com> | Fri Jan 05 16:36:59 2007 -0800 |
committer | Linus Torvalds <torvalds@woody.osdl.org> | Fri Jan 05 23:55:28 2007 -0800 |
tree | 8c644a962566335e2f21ffec2b8e0154b138dc17 | |
parent | 4db9c47c052b89d89f43d12879690c1b3283b887 [diff] |
[PATCH] KVM: MMU: Add missing dirty bit If we emulate a write, we fail to set the dirty bit on the guest pte, leading the guest to believe the page is clean, and thus lose data. Bad. Fix by setting the guest pte dirty bit under such conditions. Signed-off-by: Avi Kivity <avi@qumranet.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>