kernel-fxtec-pro1x/arch/x86/kvm
Marcelo Tosatti bed1d1dfc4 KVM: MMU: prepopulate guest pages after write-protecting
Zdenek reported a bug where a looping "dmsetup status" eventually hangs
on SMP guests.

The problem is that kvm_mmu_get_page() prepopulates the shadow MMU
before write protecting the guest page tables. By doing so, it leaves a
window open where the guest can mark a pte as present while the host has
shadow cached such pte as "notrap". Accesses to such address will fault
in the guest without the host having a chance to fix the situation.

Fix by moving the write protection before the pte prefetch.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
2008-04-27 12:00:58 +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 KVM: no longer EXPERIMENTAL 2008-04-27 12:00:36 +03: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: prepopulate guest pages after write-protecting 2008-04-27 12:00:58 +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: unify slots_lock usage 2008-04-27 12:00:52 +03:00
svm.c KVM: x86: hardware task switching support 2008-04-27 12:00:39 +03:00
svm.h KVM: x86: hardware task switching support 2008-04-27 12:00:39 +03:00
tss.h KVM: x86: hardware task switching support 2008-04-27 12:00:39 +03:00
vmx.c KVM: MMU: unify slots_lock usage 2008-04-27 12:00:52 +03:00
vmx.h KVM: VMX: fix typo in VMX header define 2008-04-27 11:53:21 +03:00
x86.c KVM: Free apic access page on vm destruction 2008-04-27 12:00:54 +03:00
x86_emulate.c KVM: x86 emulator: fix sparse warnings in x86_emulate.c 2008-04-27 11:53:24 +03:00