linux-stable/arch/x86/kvm
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
..
i8254.c KVM: Add reset support for in kernel PIT 2008-04-27 12:00:23 +03:00
i8254.h KVM: Add reset support for in kernel PIT 2008-04-27 12:00:23 +03:00
i8259.c KVM: Move arch dependent files to new directory arch/x86/kvm/ 2008-01-30 18:01:18 +02:00
irq.c KVM: In kernel PIT model 2008-04-27 12:00:21 +03:00
irq.h KVM: Move apic timer migration away from critical section 2008-01-30 18:01:22 +02:00
Kconfig virtio: Put the virtio under the virtualization menu 2008-02-04 23:50:05 +11:00
kvm_svm.h KVM: SVM: allocate the MSR permission map per VCPU 2008-04-27 11:53:21 +03:00
lapic.c KVM: replace remaining __FUNCTION__ occurances 2008-04-27 11:53:27 +03:00
lapic.h KVM: Accelerated apic support 2008-01-30 18:01:20 +02:00
Makefile KVM: In kernel PIT model 2008-04-27 12:00:21 +03:00
mmu.c KVM: MMU: fix dirty bit setting when removing write permissions 2008-04-27 12:00:34 +03:00
mmu.h KVM: MMU: add TDP support to the KVM MMU 2008-04-27 11:53:20 +03:00
paging_tmpl.h KVM: MMU: Set the accessed bit on non-speculative shadow ptes 2008-04-27 12:00:33 +03:00
svm.c KVM: Remove pointless desc_ptr #ifdef 2008-04-27 11:53:27 +03:00
svm.h KVM: Move arch dependent files to new directory arch/x86/kvm/ 2008-01-30 18:01:18 +02:00
vmx.c KVM: VMX: Don't adjust tsc offset forward 2008-04-27 11:53:27 +03:00
vmx.h KVM: VMX: fix typo in VMX header define 2008-04-27 11:53:21 +03:00
x86.c KVM: MMU: hypercall based pte updates and TLB flushes 2008-04-27 12:00:27 +03:00
x86_emulate.c KVM: x86 emulator: fix sparse warnings in x86_emulate.c 2008-04-27 11:53:24 +03:00