public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/8] Miscellaneous x86 emulator fixes
@ 2010-02-10 12:21 Gleb Natapov
  2010-02-10 12:21 ` [PATCH v2 1/8] KVM: Add group8 instruction decoding Gleb Natapov
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: Gleb Natapov @ 2010-02-10 12:21 UTC (permalink / raw)
  To: avi, mtosatti; +Cc: kvm

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(-)


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-03-22 15:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-10 12:21 [PATCH v2 0/8] Miscellaneous x86 emulator fixes Gleb Natapov
2010-02-10 12:21 ` [PATCH v2 1/8] KVM: Add group8 instruction decoding Gleb Natapov
2010-02-10 12:21 ` [PATCH v2 2/8] KVM: Add group9 " Gleb Natapov
2010-02-10 12:21 ` [PATCH v2 3/8] KVM: Add Virtual-8086 mode of emulation Gleb Natapov
2010-02-10 12:21 ` [PATCH v2 4/8] KVM: fix memory access during x86 emulation Gleb Natapov
2010-02-10 12:21 ` [PATCH v2 5/8] KVM: Check IOPL level during io instruction emulation Gleb Natapov
2010-02-10 12:21 ` [PATCH v2 6/8] KVM: Fix popf emulation Gleb Natapov
2010-02-10 12:21 ` [PATCH v2 7/8] KVM: Check CPL level during privilege instruction emulation Gleb Natapov
2010-02-10 12:21 ` [PATCH v2 8/8] KVM: Add LOCK prefix validity checking Gleb Natapov
2010-02-10 12:45 ` [PATCH v2 0/8] Miscellaneous x86 emulator fixes Avi Kivity
2010-03-22 15:48 ` Alexander Graf
2010-03-22 15:51   ` Alexander Graf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox