Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/kvm/svm/
Dsvm_onhyperv.h28 hve->hv_enlightenments_control.msr_bitmap = 1; in svm_hv_init_vmcb()
66 if (hve->hv_enlightenments_control.msr_bitmap) in svm_hv_vmcb_dirty_nested_enlightenments()
Dhyperv.h20 u32 msr_bitmap:1; member
Dnested.c196 hve->hv_enlightenments_control.msr_bitmap && in nested_svm_vmrun_msrpm()
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dhyperv_svm_test.c29 u32 msr_bitmap:1; member
93 hve->hv_enlightenments_control.msr_bitmap = 1; in guest_code()
Devmcs_test.c129 current_evmcs->hv_enlightenments_control.msr_bitmap = 1; in guest_code()
/linux-6.1.9/arch/x86/kvm/vmx/
Dvmcs.h72 unsigned long *msr_bitmap; member
Dvmcs12.h39 u64 msr_bitmap; member
222 CHECK_OFFSET(msr_bitmap, 56); in vmx_check_vmcs12_offsets()
Devmcs.h196 if (current_evmcs->hv_enlightenments_control.msr_bitmap) in evmcs_touch_msr_bitmap()
Dvmx.c846 return vmx_test_msr_bitmap_write(vmx->loaded_vmcs->msr_bitmap, msr); in msr_write_intercepted()
2768 if (loaded_vmcs->msr_bitmap) in free_loaded_vmcs()
2769 free_page((unsigned long)loaded_vmcs->msr_bitmap); in free_loaded_vmcs()
2787 loaded_vmcs->msr_bitmap = (unsigned long *) in alloc_loaded_vmcs()
2789 if (!loaded_vmcs->msr_bitmap) in alloc_loaded_vmcs()
2791 memset(loaded_vmcs->msr_bitmap, 0xff, PAGE_SIZE); in alloc_loaded_vmcs()
3849 unsigned long *msr_bitmap = vmx->vmcs01.msr_bitmap; in vmx_disable_intercept_for_msr() local
3873 vmx_set_msr_bitmap_read(msr_bitmap, msr); in vmx_disable_intercept_for_msr()
3879 vmx_set_msr_bitmap_write(msr_bitmap, msr); in vmx_disable_intercept_for_msr()
3884 vmx_clear_msr_bitmap_read(msr_bitmap, msr); in vmx_disable_intercept_for_msr()
[all …]
Dvmcs12.c33 FIELD64(MSR_BITMAP, msr_bitmap),
Dnested.c479 if (CC(!page_address_valid(vcpu, vmcs12->msr_bitmap))) in nested_vmx_check_msr_bitmap_controls()
513 static inline void enable_x2apic_msr_intercepts(unsigned long *msr_bitmap) in enable_x2apic_msr_intercepts() argument
520 msr_bitmap[word] = ~0; in enable_x2apic_msr_intercepts()
521 msr_bitmap[word + (0x800 / sizeof(long))] = ~0; in enable_x2apic_msr_intercepts()
531 if (vmx_test_msr_bitmap_##rw(vmx->vmcs01.msr_bitmap, msr) || \
563 unsigned long *msr_bitmap_l0 = vmx->nested.vmcs02.msr_bitmap; in nested_vmx_prepare_msr_bitmap()
581 evmcs->hv_enlightenments_control.msr_bitmap && in nested_vmx_prepare_msr_bitmap()
585 if (kvm_vcpu_map(vcpu, gpa_to_gfn(vmcs12->msr_bitmap), map)) in nested_vmx_prepare_msr_bitmap()
1647 vmcs12->msr_bitmap = evmcs->msr_bitmap; in copy_enlightened_to_vmcs12()
2162 vmcs_write64(MSR_BITMAP, __pa(vmx->nested.vmcs02.msr_bitmap)); in prepare_vmcs02_constant_state()
[all …]
Devmcs.c51 EVMCS1_FIELD(MSR_BITMAP, msr_bitmap,
/linux-6.1.9/arch/x86/include/asm/
Dhyperv-tlfs.h416 u64 msr_bitmap; member
556 u32 msr_bitmap:1; member
/linux-6.1.9/tools/testing/selftests/kvm/include/x86_64/
Devmcs.h62 u64 msr_bitmap; member
202 u32 msr_bitmap:1; member
332 *value = current_evmcs->msr_bitmap; in evmcs_vmread()
744 current_evmcs->msr_bitmap = value; in evmcs_vmwrite()
/linux-6.1.9/Documentation/virt/kvm/x86/
Dnested-vmx.rst97 u64 msr_bitmap;