summaryrefslogtreecommitdiffstats
path: root/test/kvm-targetstep_guest.S
diff options
context:
space:
mode:
Diffstat (limited to 'test/kvm-targetstep_guest.S')
-rw-r--r--test/kvm-targetstep_guest.S10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/kvm-targetstep_guest.S b/test/kvm-targetstep_guest.S
index 6625c54..f8ef6d8 100644
--- a/test/kvm-targetstep_guest.S
+++ b/test/kvm-targetstep_guest.S
@@ -25,8 +25,14 @@ guest:
mov $(L1_LINESIZE * (L1_SETS + 15)), %bx
movb (%bx), %bl
- # this should only be partially single-stepped if
- # single-stepping is limited to the first page
+ jmp skip
+.rept L1_LINESIZE * L1_SETS
+ nop
+.endr
+skip:
+
+ # these nops should not be single-stepped
+ # since they are outside the target gfn
.rept L1_LINESIZE * L1_SETS * 2
nop
.endr