Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
Dvmx.c921 unsigned long *msr_bitmap; in msr_write_intercepted() local
927 msr_bitmap = vmx->loaded_vmcs->msr_bitmap; in msr_write_intercepted()
930 return !!test_bit(msr, msr_bitmap + 0x800 / f); in msr_write_intercepted()
933 return !!test_bit(msr, msr_bitmap + 0xc00 / f); in msr_write_intercepted()
2704 if (loaded_vmcs->msr_bitmap) in free_loaded_vmcs()
2705 free_page((unsigned long)loaded_vmcs->msr_bitmap); in free_loaded_vmcs()
2723 loaded_vmcs->msr_bitmap = (unsigned long *) in alloc_loaded_vmcs()
2725 if (!loaded_vmcs->msr_bitmap) in alloc_loaded_vmcs()
2727 memset(loaded_vmcs->msr_bitmap, 0xff, PAGE_SIZE); in alloc_loaded_vmcs()
2735 evmcs->hv_enlightenments_control.msr_bitmap = 1; in alloc_loaded_vmcs()
[all …]
Dvmcs.h69 unsigned long *msr_bitmap; member
Dvmcs12.h39 u64 msr_bitmap; member
226 CHECK_OFFSET(msr_bitmap, 56); in vmx_check_vmcs12_offsets()
Devmcs.h174 if (current_evmcs->hv_enlightenments_control.msr_bitmap) in evmcs_touch_msr_bitmap()
Dnested.c466 if (CC(!page_address_valid(vcpu, vmcs12->msr_bitmap))) in nested_vmx_check_msr_bitmap_controls()
489 unsigned long *msr_bitmap; in msr_write_intercepted_l01() local
495 msr_bitmap = to_vmx(vcpu)->vmcs01.msr_bitmap; in msr_write_intercepted_l01()
498 return !!test_bit(msr, msr_bitmap + 0x800 / f); in msr_write_intercepted_l01()
501 return !!test_bit(msr, msr_bitmap + 0xc00 / f); in msr_write_intercepted_l01()
548 static inline void enable_x2apic_msr_intercepts(unsigned long *msr_bitmap) in enable_x2apic_msr_intercepts() argument
555 msr_bitmap[word] = ~0; in enable_x2apic_msr_intercepts()
556 msr_bitmap[word + (0x800 / sizeof(long))] = ~0; in enable_x2apic_msr_intercepts()
569 unsigned long *msr_bitmap_l0 = to_vmx(vcpu)->nested.vmcs02.msr_bitmap; in nested_vmx_prepare_msr_bitmap()
577 if (kvm_vcpu_map(vcpu, gpa_to_gfn(vmcs12->msr_bitmap), map)) in nested_vmx_prepare_msr_bitmap()
[all …]
Dvmcs12.c34 FIELD64(MSR_BITMAP, msr_bitmap),
Devmcs.c50 EVMCS1_FIELD(MSR_BITMAP, msr_bitmap,
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dhyperv-tlfs.h341 u64 msr_bitmap; member
481 u32 msr_bitmap:1; member
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/include/
Devmcs.h62 u64 msr_bitmap; member
202 u32 msr_bitmap:1; member
302 *value = current_evmcs->msr_bitmap; in evmcs_vmread()
689 current_evmcs->msr_bitmap = value; in evmcs_vmwrite()
/kernel/linux/linux-5.10/Documentation/virt/kvm/
Dnested-vmx.rst95 u64 msr_bitmap;