Searched refs:guest_msrs (Results 1 – 3 of 3) sorted by relevance
326 uint64_t *guest_msrs = vmx->guest_msrs[vcpuid]; in vmx_msr_guest_init() local370 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() local393 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() local407 guest_msrs[IDX_MSR_LSTAR] = rdmsr(MSR_LSTAR); in vmx_msr_guest_exit()[all …]
132 uint64_t guest_msrs[VM_MAXCPU][GUEST_MSR_NUM]; member
3273 uint64_t *guest_msrs = vmx->guest_msrs[vcpu]; in vmx_msr_ptr() local3277 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()