Izik Eidus 855149aaa9 KVM: MMU: fix dirty bit setting when removing write permissions
When mmu_set_spte() checks if a page related to spte should be release as
dirty or clean, it check if the shadow pte was writeble, but in case
rmap_write_protect() is called called it is possible for shadow ptes that were
writeble to become readonly and therefor mmu_set_spte will release the pages
as clean.

This patch fix this issue by marking the page as dirty inside
rmap_write_protect().

Signed-off-by: Izik Eidus <izike@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
2008-04-27 12:00:34 +03:00
..
2008-04-26 17:44:55 +02:00
2007-10-20 01:13:56 +02:00
2007-10-17 20:16:15 +02:00
2008-04-19 19:19:55 +02:00
2008-04-19 19:19:54 +02:00
2008-04-26 17:44:55 +02:00