qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v10 0/6] QEMU support for KVM Guest Debug on arm64
@ 2015-12-08 18:32 Alex Bennée
  2015-12-08 18:32 ` [Qemu-devel] [PATCH v10 1/6] target-arm: kvm64 - introduce kvm_arm_init_debug() Alex Bennée
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Alex Bennée @ 2015-12-08 18:32 UTC (permalink / raw)
  To: qemu-devel, qemu-arm, peter.maydell, christoffer.dall,
	zhichao.huang
  Cc: marc.zyngier, Alex Bennée, linux-arm-kernel, kvm, kvmarm

Hi,

Here is the latest patch set to support debugging of KVM guests on
arm64. The main changes are fixing arm32 compiles (mostly with stubs
for the upcomming arm32 debug) and the usual bunch of minor tweaks and
clarifications following review.

I've kept the GDB Python based test in tests/guest-debug and cleaned
it up so it will work with python2/3 linked GDBs. It still isn't
plumbed it in to the "make check" so can be dropped until we have a
solution for testing against non-host binaries.

So in summary the changes are:

  - Fixed arm32 compile
  - Use results of debug capability checks
  - Whitespace and comment cleanups
  - Py2/3 cleanliness for test script

More detailed changelogs are attached to each patch.

GIT Repo:

The patch series is based off a recent master and can be found at:

https://github.com/stsquad/qemu
branch: kvm/guest-debug-v10

Alex Bennée (6):
  target-arm: kvm64 - introduce kvm_arm_init_debug()
  target-arm: kvm - implement software breakpoints
  target-arm: kvm - support for single step
  target-arm: kvm - add support for HW assisted debug
  target-arm: kvm - re-inject guest debug exceptions
  tests/guest-debug: introduce basic gdbstub tests

 target-arm/helper-a64.c           |  12 +-
 target-arm/kvm.c                  |  65 +++---
 target-arm/kvm32.c                |  47 ++++
 target-arm/kvm64.c                | 464 ++++++++++++++++++++++++++++++++++++++
 target-arm/kvm_arm.h              |  30 +++
 tests/guest-debug/test-gdbstub.py | 176 +++++++++++++++
 6 files changed, 757 insertions(+), 37 deletions(-)
 create mode 100644 tests/guest-debug/test-gdbstub.py

-- 
2.6.3

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

end of thread, other threads:[~2015-12-15 19:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-08 18:32 [Qemu-devel] [PATCH v10 0/6] QEMU support for KVM Guest Debug on arm64 Alex Bennée
2015-12-08 18:32 ` [Qemu-devel] [PATCH v10 1/6] target-arm: kvm64 - introduce kvm_arm_init_debug() Alex Bennée
2015-12-08 18:32 ` [Qemu-devel] [PATCH v10 2/6] target-arm: kvm - implement software breakpoints Alex Bennée
2015-12-08 18:32 ` [Qemu-devel] [PATCH v10 3/6] target-arm: kvm - support for single step Alex Bennée
2015-12-08 18:32 ` [Qemu-devel] [PATCH v10 4/6] target-arm: kvm - add support for HW assisted debug Alex Bennée
2015-12-08 18:32 ` [Qemu-devel] [PATCH v10 5/6] target-arm: kvm - re-inject guest debug exceptions Alex Bennée
2015-12-08 18:32 ` [Qemu-devel] [PATCH v10 6/6] tests/guest-debug: introduce basic gdbstub tests Alex Bennée
2015-12-15 19:34 ` [Qemu-devel] [PATCH v10 0/6] QEMU support for KVM Guest Debug on arm64 Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).