summaryrefslogtreecommitdiff
path: root/kvm/test/x86/cstart64.S
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2010-08-02 15:33:35 +0200
committerAvi Kivity <avi@redhat.com>2010-08-02 17:43:53 +0300
commit94b8a244bb20dcb8e911306715b607e7b245c712 (patch)
treec4a1976d850d8ee27164089c89b64cb521c19a00 /kvm/test/x86/cstart64.S
parentcb2680a86415bb3273953261d5c98eda39138319 (diff)
test: Add mode-switch test for nested svm
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'kvm/test/x86/cstart64.S')
-rw-r--r--kvm/test/x86/cstart64.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/kvm/test/x86/cstart64.S b/kvm/test/x86/cstart64.S
index f1a9d0955..46e9d5cd4 100644
--- a/kvm/test/x86/cstart64.S
+++ b/kvm/test/x86/cstart64.S
@@ -51,6 +51,11 @@ gdt64:
.quad 0x00cf93000000ffff // 64-bit data segment
.quad 0x00affb000000ffff // 64-bit code segment (user)
.quad 0x00cff3000000ffff // 64-bit data segment (user)
+ .quad 0x00cf9b000000ffff // 32-bit code segment
+ .quad 0x00cf92000000ffff // 32-bit code segment
+ .quad 0x008F9A000000FFFF // 16-bit code segment
+ .quad 0x008F92000000FFFF // 16-bit data segment
+
tss_descr:
.rept max_cpus
.quad 0x000089000000ffff // 64-bit avail tss