[PATCH v2 0/8] Miscellaneous x86 emulator fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux