diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2017-11-16 15:39:20 +0000 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2017-11-29 16:46:20 +0100 |
commit | 7226bc2e126dfb6d81e85a75f373ea4cc3619406 (patch) | |
tree | 6e5c5541754d8aca9f9d311ff8f3c753137cf048 /virt | |
parent | 696673d192f52c2c5a702224ee21f005318a844b (diff) | |
download | linux-stable-7226bc2e126dfb6d81e85a75f373ea4cc3619406.tar.gz linux-stable-7226bc2e126dfb6d81e85a75f373ea4cc3619406.tar.bz2 linux-stable-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