Home
last modified time | relevance | path

Searched refs:guest_msrs (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/intel/io/vmm/intel/
H A Dvmx_msr.c326 uint64_t *guest_msrs = vmx->guest_msrs[vcpuid]; in vmx_msr_guest_init() local
370 guest_msrs[IDX_MSR_PAT] = PAT_VALUE(0, PAT_WRITE_BACK) | in vmx_msr_guest_init()
383 uint64_t *guest_msrs = vmx->guest_msrs[vcpuid]; in vmx_msr_guest_enter() local
393 wrmsr(MSR_LSTAR, guest_msrs[IDX_MSR_LSTAR]); in vmx_msr_guest_enter()
394 wrmsr(MSR_CSTAR, guest_msrs[IDX_MSR_CSTAR]); in vmx_msr_guest_enter()
395 wrmsr(MSR_STAR, guest_msrs[IDX_MSR_STAR]); in vmx_msr_guest_enter()
396 wrmsr(MSR_SF_MASK, guest_msrs[IDX_MSR_SF_MASK]); in vmx_msr_guest_enter()
397 wrmsr(MSR_KGSBASE, guest_msrs[IDX_MSR_KGSBASE]); in vmx_msr_guest_enter()
403 uint64_t *guest_msrs = vmx->guest_msrs[vcpuid]; in vmx_msr_guest_exit() local
407 guest_msrs[IDX_MSR_LSTAR] = rdmsr(MSR_LSTAR); in vmx_msr_guest_exit()
[all …]
H A Dvmx.h132 uint64_t guest_msrs[VM_MAXCPU][GUEST_MSR_NUM]; member
H A Dvmx.c3273 uint64_t *guest_msrs = vmx->guest_msrs[vcpu]; in vmx_msr_ptr() local
3277 return (&guest_msrs[IDX_MSR_LSTAR]); in vmx_msr_ptr()
3279 return (&guest_msrs[IDX_MSR_CSTAR]); in vmx_msr_ptr()
3281 return (&guest_msrs[IDX_MSR_STAR]); in vmx_msr_ptr()
3283 return (&guest_msrs[IDX_MSR_SF_MASK]); in vmx_msr_ptr()
3285 return (&guest_msrs[IDX_MSR_KGSBASE]); in vmx_msr_ptr()
3287 return (&guest_msrs[IDX_MSR_PAT]); in vmx_msr_ptr()