Searched refs:msr_autostore (Results 1 – 3 of 3) sorted by relevance
| /linux/arch/x86/kvm/vmx/ |
| H A D | nested.c | 1084 u64 host_tsc = vmx->msr_autostore.val[slot].value; in nested_vmx_get_vmexit_msr_value() 2333 vmcs_write64(VM_EXIT_MSR_STORE_ADDR, __pa(vmx->msr_autostore.val)); in prepare_vmcs02_constant_state() 2675 !WARN_ON_ONCE(vmx->msr_autostore.nr >= ARRAY_SIZE(vmx->msr_autostore.val))) { in prepare_vmcs02_rare() 2676 vmx->nested.tsc_autostore_slot = vmx->msr_autostore.nr; in prepare_vmcs02_rare() 2677 vmx->msr_autostore.val[vmx->msr_autostore.nr].index = MSR_IA32_TSC; in prepare_vmcs02_rare() 2679 vmcs_write32(VM_EXIT_MSR_STORE_COUNT, vmx->msr_autostore.nr + 1); in prepare_vmcs02_rare() 2682 vmcs_write32(VM_EXIT_MSR_STORE_COUNT, vmx->msr_autostore.nr); in prepare_vmcs02_rare() 5145 vmcs_write32(VM_EXIT_MSR_STORE_COUNT, vmx->msr_autostore.nr); in __nested_vmx_vmexit()
|
| H A D | vmx.h | 240 struct vmx_msrs msr_autostore; member
|
| H A D | vmx.c | 1209 vmx_add_auto_msr(&vmx->msr_autostore, msr, 0, VM_EXIT_MSR_STORE_COUNT, in vmx_add_autostore_msr() 1215 vmx_remove_auto_msr(&vmx->msr_autostore, msr, VM_EXIT_MSR_STORE_COUNT); in vmx_remove_autostore_msr() 5003 vmcs_write64(VM_EXIT_MSR_STORE_ADDR, __pa(vmx->msr_autostore.val)); in init_vmcs() 6670 vmx_dump_msrs("autostore", &vmx->msr_autostore); in dump_vmcs() 7451 int slot = vmx_find_loadstore_msr_slot(&vmx->msr_autostore, in vmx_refresh_guest_perf_global_control() 7457 pmu->global_ctrl = vmx->msr_autostore.val[slot].value; in vmx_refresh_guest_perf_global_control()
|