From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6N4R-0003v9-3s for qemu-devel@nongnu.org; Tue, 08 Dec 2015 13:33:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a6N4N-0000ib-21 for qemu-devel@nongnu.org; Tue, 08 Dec 2015 13:33:03 -0500 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:38610) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6N4M-0000iH-Sh for qemu-devel@nongnu.org; Tue, 08 Dec 2015 13:32:59 -0500 Received: by wmec201 with SMTP id c201so41358014wme.1 for ; Tue, 08 Dec 2015 10:32:58 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= Date: Tue, 8 Dec 2015 18:32:27 +0000 Message-Id: <1449599553-24713-1-git-send-email-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH v10 0/6] QEMU support for KVM Guest Debug on arm64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, qemu-arm@nongnu.org, peter.maydell@linaro.org, christoffer.dall@linaro.org, zhichao.huang@linaro.org Cc: marc.zyngier@arm.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu 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