Skip to content

More emulator correctness fixes

Gleb Natapov kvm 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4KVM: Forbid modifying CS segment register by mov instruction.arch/x86/kvm/emulate.c+6 -00 replies
2/4KVM: Fix load_guest_segment_descriptor() to inject page faultarch/x86/kvm/x86.c+10 -30 replies
3/4KVM: Fix segment descriptor loading.arch/x86/include/asm/kvm_host.h arch/x86/kvm/emulate.c arch/x86/kvm/x86.c+151 -590 replies
4/4KVM: Fix emulate_sys[call, enter, exit]()'s fault handlingarch/x86/kvm/emulate.c+20 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] More emulator correctness fixes

This patch series adds proper permission checking during segment selector loading. Some missing fault injections are added.

Gleb Natapov (2):
KVM: Forbid modifying CS segment register by mov instruction.
KVM: Fix segment descriptor loading.

Takuya Yoshikawa (2):
KVM: Fix load_guest_segment_descriptor() to inject page fault
KVM: Fix emulate_sys[call, enter, exit]()'s fault handling

 arch/x86/include/asm/kvm_host.h |    3 +-
 arch/x86/kvm/emulate.c          |   71 +++++++--------
 arch/x86/kvm/x86.c              |  190 +++++++++++++++++++++++++++++++--------
 3 files changed, 186 insertions(+), 78 deletions(-)