mirror of https://gitee.com/openkylin/linux.git
855149aaa9
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
i8254.c | ||
i8254.h | ||
i8259.c | ||
irq.c | ||
irq.h | ||
kvm_svm.h | ||
lapic.c | ||
lapic.h | ||
mmu.c | ||
mmu.h | ||
paging_tmpl.h | ||
svm.c | ||
svm.h | ||
vmx.c | ||
vmx.h | ||
x86.c | ||
x86_emulate.c |