Home
last modified time | relevance | path

Searched refs:msr_bitmap (Results 1 – 8 of 8) sorted by relevance

/linux/arch/x86/kvm/svm/
H A Dsvm_onhyperv.h38 hve->hv_enlightenments_control.msr_bitmap = 1; in svm_hv_init_vmcb()
47 if (hve->hv_enlightenments_control.msr_bitmap) in svm_hv_vmcb_dirty_nested_enlightenments()
H A Dnested.c315 hve->hv_enlightenments_control.msr_bitmap && in nested_svm_merge_msrpm()
/linux/tools/testing/selftests/kvm/include/x86/
H A Devmcs.h53 u64 msr_bitmap; member
193 u32 msr_bitmap:1; member
319 *value = current_evmcs->msr_bitmap; in evmcs_vmread()
731 current_evmcs->msr_bitmap = value; in evmcs_vmwrite()
/linux/tools/testing/selftests/kvm/x86/
H A Dhyperv_svm_test.c109 hve->hv_enlightenments_control.msr_bitmap = 1; in guest_code()
H A Dhyperv_evmcs.c150 current_evmcs->hv_enlightenments_control.msr_bitmap = 1; in guest_code()
/linux/arch/x86/kvm/vmx/
H A Dvmx.c972 return vmx_test_msr_bitmap_write(vmx->loaded_vmcs->msr_bitmap, msr); in __vmx_vcpu_run_flags()
2445 * vmcs02.msr_bitmap here since it gets completely overwritten in vmx_set_msr()
3063 if (loaded_vmcs->msr_bitmap) in alloc_loaded_vmcs()
3064 free_page((unsigned long)loaded_vmcs->msr_bitmap); in alloc_loaded_vmcs()
3082 loaded_vmcs->msr_bitmap = (unsigned long *) in fix_pmode_seg()
3084 if (!loaded_vmcs->msr_bitmap)
3086 memset(loaded_vmcs->msr_bitmap, 0xff, PAGE_SIZE); in enter_pmode()
4102 if (evmcs->hv_enlightenments_control.msr_bitmap) in vmx_set_intercept_for_msr()
4113 unsigned long *msr_bitmap = vmx->vmcs01.msr_bitmap; in vmx_update_msr_bitmap_x2apic()
4083 unsigned long *msr_bitmap = vmx->vmcs01.msr_bitmap; vmx_set_intercept_for_msr() local
4115 u64 *msr_bitmap = (u64 *)vmx->vmcs01.msr_bitmap; vmx_update_msr_bitmap_x2apic() local
[all...]
H A Dnested.c576 if (CC(!page_address_valid(vcpu, vmcs12->msr_bitmap))) in nested_vmx_disable_intercept_for_x2apic_msr()
613 static inline void enable_x2apic_msr_intercepts(unsigned long *msr_bitmap) in BUILD_NVMX_MSR_INTERCEPT_HELPER()
620 msr_bitmap[word] = ~0; in BUILD_NVMX_MSR_INTERCEPT_HELPER()
621 msr_bitmap[word + (0x800 / sizeof(long))] = ~0; in BUILD_NVMX_MSR_INTERCEPT_HELPER()
631 if (vmx_test_msr_bitmap_##rw(vmx->vmcs01.msr_bitmap, msr) || \
704 unsigned long *msr_bitmap_l0 = vmx->nested.vmcs02.msr_bitmap; in nested_vmx_prepare_msr_bitmap()
723 if (evmcs && evmcs->hv_enlightenments_control.msr_bitmap && in nested_vmx_prepare_msr_bitmap()
728 if (kvm_vcpu_map_readonly(vcpu, gpa_to_gfn(vmcs12->msr_bitmap), &map)) in nested_vmx_prepare_msr_bitmap()
1818 vmcs12->msr_bitmap = evmcs->msr_bitmap; in copy_enlightened_to_vmcs12()
584 enable_x2apic_msr_intercepts(unsigned long * msr_bitmap) enable_x2apic_msr_intercepts() argument
[all...]
/linux/Documentation/virt/kvm/x86/
H A Dnested-vmx.rst97 u64 msr_bitmap;