OSDN Git Service

target-arm: kvm - support for single step
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)
commit26ae59348585e09d9386633984da211c87d52d4f
tree41a25d601aef25dd9377dcefd8102bc9f726f188
parent2ecb2027bc5033dfa92d00d708723053f9689564
target-arm: kvm - support for single step

This adds support for single-step. There isn't much to do on the QEMU
side as after we set-up the request for single step via the debug ioctl
it is all handled within the kernel.

The actual setting of the KVM_GUESTDBG_SINGLESTEP flag is already in the
common code. If the kernel doesn't support guest debug the ioctl will
simply error.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 1449599553-24713-4-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/kvm64.c