android_kernel_xiaomi_sm8350/arch/x86/kvm
Avi Kivity d196e34336 KVM: MMU: Decouple mmio from shadow page tables
Currently an mmio guest pte is encoded in the shadow pagetable as a
not-present trapping pte, with the SHADOW_IO_MARK bit set.  However
nothing is ever done with this information, so maintaining it is a
useless complication.

This patch moves the check for mmio to before shadow ptes are instantiated,
so the shadow code is never invoked for ptes that reference mmio.  The code
is simpler, and with future work, can be made to handle mmio concurrently.

Signed-off-by: Avi Kivity <avi@qumranet.com>
2008-04-27 11:53:17 +03:00
..
i8259.c
irq.c KVM: Move kvm_vcpu_kick() to x86.c 2008-01-30 18:01:19 +02: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
lapic.c KVM: Avoid infinite-frequency local apic timer 2008-03-04 15:19:48 +02:00
lapic.h KVM: Accelerated apic support 2008-01-30 18:01:20 +02:00
Makefile KVM: Move ioapic code to common directory. 2008-01-30 18:01:19 +02:00
mmu.c KVM: MMU: Decouple mmio from shadow page tables 2008-04-27 11:53:17 +03:00
mmu.h
paging_tmpl.h KVM: MMU: Decouple mmio from shadow page tables 2008-04-27 11:53:17 +03:00
segment_descriptor.h
svm.c KVM: SVM: fix Windows XP 64 bit installation crash 2008-03-04 15:19:45 +02:00
svm.h
vmx.c KVM: VMX: convert init_rmode_tss() to slots_lock 2008-03-25 10:22:17 +02:00
vmx.h
x86_emulate.c KVM: x86 emulator: group decoding for group 1 instructions 2008-04-27 11:53:16 +03:00
x86.c KVM: remove the usage of the mmap_sem for the protection of the memory slots. 2008-03-04 15:19:40 +02:00