diff options
author | Avi Kivity <avi@qumranet.com> | 2007-01-05 19:36:59 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2007-01-06 02:55:28 -0500 |
commit | 760db773fbd0ad2ece89393218c4a4213b5bae6a (patch) | |
tree | 8c644a962566335e2f21ffec2b8e0154b138dc17 /drivers/kvm/kvm_main.c | |
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>
Diffstat (limited to 'drivers/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions