Skip to content

Commit e93dc21

Browse files
mdouchapevik
authored andcommitted
KVM: Add system control MSR constants
Link: https://lore.kernel.org/ltp/[email protected]/ Acked-by: Petr Vorel <[email protected]> Signed-off-by: Martin Doucha <[email protected]>
1 parent 320fc82 commit e93dc21

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

testcases/kernel/kvm/include/kvm_x86.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,17 @@
6868

6969

7070
/* Model-specific CPU register constants */
71+
#define MSR_SYSENTER_CS 0x174
72+
#define MSR_SYSENTER_ESP 0x175
73+
#define MSR_SYSENTER_EIP 0x176
7174
#define MSR_EFER 0xc0000080
75+
#define MSR_STAR 0xc0000081
76+
#define MSR_LSTAR 0xc0000082
77+
#define MSR_CSTAR 0xc0000083
78+
#define MSR_SFMASK 0xc0000084
79+
#define MSR_FS_BASE 0xc0000100
80+
#define MSR_GS_BASE 0xc0000101
81+
#define MSR_KERNEL_GS_BASE 0xc0000102
7282
#define MSR_VM_CR 0xc0010114
7383
#define MSR_VM_HSAVE_PA 0xc0010117
7484

0 commit comments

Comments
 (0)