X86 emulator fails to do permission/correctness checking like real CPU does for some instruction. This patch series fixes some of those discrepancies. Gleb Natapov (8): KVM: Add group8 instruction decoding. KVM: Add group9 instruction decoding. KVM: Add Virtual-8086 mode of emulation. KVM: fix memory access during x86 emulation. KVM: Check IOPL level during io instruction emulation. KVM: Fix popf emulation. KVM: Check CPL level during privilege instruction emulation. KVM: Add LOCK prefix validity checking. arch/x86/include/asm/kvm_emulate.h | 15 ++- arch/x86/include/asm/kvm_host.h | 8 +- arch/x86/kvm/emulate.c | 215 +++++++++++++++++++++++++----------- arch/x86/kvm/mmu.c | 17 +-- arch/x86/kvm/mmu.h | 6 + arch/x86/kvm/paging_tmpl.h | 11 ++- arch/x86/kvm/x86.c | 195 ++++++++++++++++++++++++++------ 7 files changed, 351 insertions(+), 116 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html