aboutsummaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2017-11-16 15:39:20 +0000
committerChristoffer Dall <christoffer.dall@linaro.org>2017-11-29 16:46:20 +0100
commit7226bc2e126dfb6d81e85a75f373ea4cc3619406 (patch)
tree6e5c5541754d8aca9f9d311ff8f3c753137cf048 /virt
parentKVM: arm/arm64: debug: Introduce helper for single-step (diff)
downloadlinux-dev-7226bc2e126dfb6d81e85a75f373ea4cc3619406.tar.xz
linux-dev-7226bc2e126dfb6d81e85a75f373ea4cc3619406.zip
kvm: arm64: handle single-stepping trapped instructions
If we are using guest debug to single-step the guest, we need to ensure that we exit after emulating the instruction. This only affects instructions completely emulated by the kernel. For instructions emulated in userspace, we need to exit and return to complete the emulation. The kvm_arm_handle_step_debug() helper sets up the necessary exit state if needed. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Julien Thierry <julien.thierry@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions