android_kernel_xiaomi_sm8350/drivers/kvm
Luca Tettamanti 02c03a326a KVM: Fix x86 emulator writeback
When the old value and new one are the same the emulator skips the
write; this is undesirable when the destination is a MMIO area and the
write shall be performed regardless of the previous value. This
optimization breaks e.g. a Linux guest APIC compiled without
X86_GOOD_APIC.

Remove the check and perform the writeback stage in the emulation unless
it's explicitly disabled (currently push and some 2 bytes instructions
may disable the writeback).

Signed-Off-By: Luca Tettamanti <kronos.it@gmail.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
2007-07-16 12:05:48 +03:00
..
Kconfig KVM: MMU: Make setting shadow ptes atomic on i386 2007-07-16 12:05:44 +03:00
kvm_main.c KVM: Add support for in-kernel pio handlers 2007-07-16 12:05:48 +03:00
kvm_svm.h KVM: SVM: Only save/restore MSRs when needed 2007-05-03 10:52:32 +03:00
kvm.h KVM: Add support for in-kernel pio handlers 2007-07-16 12:05:48 +03:00
Makefile
mmu.c KVM: Flush remote tlbs when reducing shadow pte permissions 2007-07-16 12:05:46 +03:00
paging_tmpl.h KVM: MMU: Remove unused large page marker 2007-07-16 12:05:45 +03:00
segment_descriptor.h
svm.c KVM: Initialize the BSP bit in the APIC_BASE msr correctly 2007-07-16 12:05:47 +03:00
svm.h KVM: SVM: forbid guest to execute monitor/mwait 2007-05-03 10:52:26 +03:00
vmx.c KVM: VMX: Fix interrupt checking on lightweight exit 2007-07-16 12:05:48 +03:00
vmx.h [PATCH] kvm: vmx: handle triple faults by returning EXIT_REASON_SHUTDOWN to userspace 2007-02-12 09:48:40 -08:00
x86_emulate.c KVM: Fix x86 emulator writeback 2007-07-16 12:05:48 +03:00
x86_emulate.h KVM: Allow passing 64-bit values to the emulated read/write API 2007-05-03 10:52:31 +03:00