Re: [PATCH v2 0/8] Miscellaneous x86 emulator fixes
On 10.02.2010, at 13:21, Gleb Natapov wrote: X86 emulator fails to do permission/correctness checking like real CPU does for some instruction. This patch series fixes some of those discrepancies. Changelog: v1-v2 - move IOPL permission checking functions into emulate.c - rename them to more intuitive names - fix tr segment limit checking This whole series should go for -stable, no? Alex -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v2 0/8] Miscellaneous x86 emulator fixes
On 22.03.2010, at 16:48, Alexander Graf wrote: On 10.02.2010, at 13:21, Gleb Natapov wrote: X86 emulator fails to do permission/correctness checking like real CPU does for some instruction. This patch series fixes some of those discrepancies. Changelog: v1-v2 - move IOPL permission checking functions into emulate.c - rename them to more intuitive names - fix tr segment limit checking This whole series should go for -stable, no? That's what I get for blindly commenting stuff. Nvm. Alex -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH v2 0/8] Miscellaneous x86 emulator fixes
X86 emulator fails to do permission/correctness checking like real CPU does for some instruction. This patch series fixes some of those discrepancies. Changelog: v1-v2 - move IOPL permission checking functions into emulate.c - rename them to more intuitive names - fix tr segment limit checking 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 | 286 arch/x86/kvm/mmu.c | 17 +-- arch/x86/kvm/mmu.h |6 + arch/x86/kvm/paging_tmpl.h | 11 +- arch/x86/kvm/x86.c | 144 +- 7 files changed, 368 insertions(+), 119 deletions(-) -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v2 0/8] Miscellaneous x86 emulator fixes
On 02/10/2010 02:21 PM, Gleb Natapov wrote: X86 emulator fails to do permission/correctness checking like real CPU does for some instruction. This patch series fixes some of those discrepancies. Applied all, thanks. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html