Skip to content

KVM: Enhancements and fixes around guest debugging

Jan Kiszka kvm 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 2 repliesIn review
  2. v16 patches 22 repliesSuperseded

Changes in v2 from the cover letter

- Retreat TF emulation patch, waiting for emulator rework
- Spilt out svm_queue_exception moving
- Factor out kvm_is_linear_rip ("Saved linear RIP == current RIP?")
- Fixed breakage in INT3 emulation code and addressed review comments

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7KVM: VMX: Update instruction length on intercepted BParch/x86/kvm/vmx.c+13 -00 replies
2/7KVM: SVM: Move svm_queue_exceptionarch/x86/kvm/svm.c+17 -170 replies
3/7KVM: x86: Add kvm_is_linear_riparch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.c+16 -90 replies
4/7KVM: SVM: Emulate nRIP feature when reinjecting INT3arch/x86/kvm/svm.c+35 -30 replies
5/7KVM: x86: Add KVM_CAP_X86_ROBUST_SINGLESTEParch/x86/kvm/x86.c include/linux/kvm.h+2 -00 replies
6/7KVM: x86: Drop RF manipulation for guest single-steppingarch/x86/kvm/x86.c+2 -20 replies
7/7KVM: x86: Preserve injected TF across emulationarch/x86/kvm/x86.c+2 -20 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/7] KVM: Enhancements and fixes around guest debugging

Changes in v2:
- Retreat TF emulation patch, waiting for emulator rework
- Spilt out svm_queue_exception moving
- Factor out kvm_is_linear_rip ("Saved linear RIP == current RIP?")
- Fixed breakage in INT3 emulation code and addressed review comments

Patch 5 targets also 2.6.33., patch 1 should additionally be considered for stable 2.6.32.

You may pull these patches from

git://git.kiszka.org/linux-kvm gdb

Jan Kiszka (7):
KVM: VMX: Update instruction length on intercepted BP
KVM: SVM: Move svm_queue_exception
KVM: x86: Add kvm_is_linear_rip
KVM: SVM: Emulate nRIP feature when reinjecting INT3
KVM: x86: Add KVM_CAP_X86_ROBUST_SINGLESTEP
KVM: x86: Drop RF manipulation for guest single-stepping
KVM: x86: Preserve injected TF across emulation

 arch/x86/include/asm/kvm_host.h |    4 ++-
 arch/x86/kvm/svm.c              |   72 ++++++++++++++++++++++++++++-----------
 arch/x86/kvm/vmx.c              |   13 +++++++
 arch/x86/kvm/x86.c              |   30 ++++++++++------
 include/linux/kvm.h             |    1 +
 5 files changed, 87 insertions(+), 33 deletions(-)