]> git.proxmox.com Git - mirror_qemu.git/commit
target-arm: kvm - add support for HW assisted debug
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 17 Dec 2015 13:37:15 +0000 (13:37 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 17 Dec 2015 13:37:15 +0000 (13:37 +0000)
commite4482ab7e3849fb5e01ccacfc13f424cc6acb8d5
treed979134653b55d5b9b7966f644825cf307ef1eec
parent26ae59348585e09d9386633984da211c87d52d4f
target-arm: kvm - add support for HW assisted debug

This adds basic support for HW assisted debug. The ioctl interface to
KVM allows us to pass an implementation defined number of break and
watch point registers. When KVM_GUESTDBG_USE_HW is specified these
debug registers will be installed in place on the world switch into the
guest.

The hardware is actually capable of more advanced matching but it is
unclear if this expressiveness is available via the gdbstub protocol.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 1449599553-24713-5-git-send-email-alex.bennee@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/kvm.c
target-arm/kvm32.c
target-arm/kvm64.c
target-arm/kvm_arm.h