Home
last modified time | relevance | path

Searched refs:msrpm (Results 1 – 2 of 2) sorted by relevance

/arch/x86/kvm/
Dsvm.c338 static void set_msr_interception(u32 *msrpm, unsigned msr, in set_msr_interception() argument
349 u32 *base = msrpm + (msr_offset / 32); in set_msr_interception()
360 static void svm_vcpu_init_msrpm(u32 *msrpm) in svm_vcpu_init_msrpm() argument
362 memset(msrpm, 0xff, PAGE_SIZE * (1 << MSRPM_ALLOC_ORDER)); in svm_vcpu_init_msrpm()
365 set_msr_interception(msrpm, MSR_GS_BASE, 1, 1); in svm_vcpu_init_msrpm()
366 set_msr_interception(msrpm, MSR_FS_BASE, 1, 1); in svm_vcpu_init_msrpm()
367 set_msr_interception(msrpm, MSR_KERNEL_GS_BASE, 1, 1); in svm_vcpu_init_msrpm()
368 set_msr_interception(msrpm, MSR_LSTAR, 1, 1); in svm_vcpu_init_msrpm()
369 set_msr_interception(msrpm, MSR_CSTAR, 1, 1); in svm_vcpu_init_msrpm()
370 set_msr_interception(msrpm, MSR_SYSCALL_MASK, 1, 1); in svm_vcpu_init_msrpm()
[all …]
Dkvm_svm.h43 u32 *msrpm; member