Hi!

I would like to publish two debug features which were needed for other stuff
I work on.

One is the reworked lx-symbols script which now actually works on at least
gdb 9.1 (gdb 9.2 was reported to fail to load the debug symbols from the kernel
for some reason, not related to this patch) and upstream qemu.

The other feature is the ability to trap all guest exceptions (on SVM for now)
and see them in kvmtrace prior to potential merge to double/triple fault.

This can be very useful and I already had to manually patch KVM a few
times for this.
I will, once time permits, implement this feature on Intel as well.

Best regards,
        Maxim Levitsky

Maxim Levitsky (3):
  scripts/gdb: rework lx-symbols gdb script
  KVM: x86: guest debug: don't inject interrupts while single stepping
  KVM: SVM: allow to intercept all exceptions for debug

 arch/x86/include/asm/kvm_host.h |   2 +
 arch/x86/kvm/svm/svm.c          |  77 ++++++++++++++++++++++-
 arch/x86/kvm/svm/svm.h          |   5 +-
 arch/x86/kvm/x86.c              |  11 +++-
 kernel/module.c                 |   8 ++-
 scripts/gdb/linux/symbols.py    | 106 +++++++++++++++++++++++---------
 6 files changed, 174 insertions(+), 35 deletions(-)

-- 
2.26.2


Reply via email to