summaryrefslogtreecommitdiffstats
path: root/arch/cris
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@web.de>2009-10-18 13:24:44 +0200
committerAvi Kivity <avi@redhat.com>2009-12-03 09:32:19 +0200
commit94fe45da48f921d01d8ff02a0ad54ee9c326d7f0 (patch)
tree7bf7482bcbe690313909d5f2770384f853562a2d /arch/cris
parentffde22ac53b6d6b1d7206f1172176a667eead778 (diff)
KVM: x86: Fix guest single-stepping while interruptible
Commit 705c5323 opened the doors of hell by unconditionally injecting single-step flags as long as guest_debug signaled this. This doesn't work when the guest branches into some interrupt or exception handler and triggers a vmexit with flag reloading. Fix it by saving cs:rip when user space requests single-stepping and restricting the trace flag injection to this guest code position. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/cris')
0 files changed, 0 insertions, 0 deletions