Skip to content

Commit 984761f

Browse files
committed
travis: add vmx test
To test VMX instructions. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
1 parent 39bb9d7 commit 984761f

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

travis/test/vmx.asm

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[bits 64]
2+
3+
clgi
4+
stgi
5+
vmcall
6+
vmclear [0]
7+
vmfunc
8+
vmlaunch
9+
vmload
10+
vmmcall
11+
vmptrld [0x11111111]
12+
vmptrst [0x22222222]
13+
vmread [0x22222222], rax
14+
vmresume
15+
vmrun
16+
vmsave
17+
vmwrite rax, [0x22222222]
18+
vmxoff
19+
vmxon [0x33333333]
20+
invept rbx, [0x44444444]
21+
invvpid rcx, [0x55555555]

travis/test/vmx.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[
2+
{
3+
"description": "Test VMX instructions",
4+
"id": "vmx",
5+
"format": "elf64",
6+
"source": "vmx.asm",
7+
"option": "-Ox",
8+
"target": [
9+
{ "output": "vmx.o" }
10+
]
11+
}
12+
]

travis/test/vmx.o.t

656 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)