summaryrefslogtreecommitdiffstats
path: root/test/kvm-eviction_guest.S
diff options
context:
space:
mode:
Diffstat (limited to 'test/kvm-eviction_guest.S')
-rw-r--r--test/kvm-eviction_guest.S13
1 files changed, 10 insertions, 3 deletions
diff --git a/test/kvm-eviction_guest.S b/test/kvm-eviction_guest.S
index ce696cd..16a07a5 100644
--- a/test/kvm-eviction_guest.S
+++ b/test/kvm-eviction_guest.S
@@ -7,13 +7,20 @@
.global guest_without_start
.global guest_without_stop
+.align(16)
+.code16gcc
+
guest_with_start:
- mov (L1_LINESIZE * (TARGET_SET + L1_SETS)), %rbx
+ mov $(L1_LINESIZE * (L1_SETS + TARGET_SET)), %bx
+ movb (%bx), %bl
hlt
- jmp guest_with_start
+
+ mov $0x00, %ax
+ jmp *%ax
guest_with_stop:
guest_without_start:
hlt
- jmp guest_without_start
+ mov $0x00, %ax
+ jmp *%ax
guest_without_stop: