Home
last modified time | relevance | path

Searched refs:MSR_TYPE_R (Results 1 – 5 of 5) sorted by relevance

/linux/arch/x86/kvm/
H A Dx86.h622 MSR_TYPE_R = BIT(0), enumerator
624 MSR_TYPE_RW = MSR_TYPE_R | MSR_TYPE_W,
H A Dx86.c511 BUILD_BUG_ON(rw != MSR_TYPE_R && rw != MSR_TYPE_W); in kvm_do_msr_access()
518 if (ret && rw == MSR_TYPE_R) in kvm_do_msr_access()
1694 return kvm_do_msr_access(vcpu, index, data, true, MSR_TYPE_R, in do_get_feature_msr()
1931 return kvm_do_msr_access(vcpu, index, data, host_initiated, MSR_TYPE_R, in kvm_get_msr_ignored_check()
/linux/arch/x86/kvm/vmx/
H A Dvmx.c3980 if (type & MSR_TYPE_R) { in vmx_set_intercept_for_msr()
4076 vmx_disable_intercept_for_msr(vcpu, MSR_IA32_TSC, MSR_TYPE_R); in vmx_recalc_msr_intercepts()
4086 vmx_disable_intercept_for_msr(vcpu, MSR_CORE_C1_RES, MSR_TYPE_R); in vmx_recalc_msr_intercepts()
4087 vmx_disable_intercept_for_msr(vcpu, MSR_CORE_C3_RESIDENCY, MSR_TYPE_R); in vmx_recalc_msr_intercepts()
4088 vmx_disable_intercept_for_msr(vcpu, MSR_CORE_C6_RESIDENCY, MSR_TYPE_R); in vmx_recalc_msr_intercepts()
4089 vmx_disable_intercept_for_msr(vcpu, MSR_CORE_C7_RESIDENCY, MSR_TYPE_R); in vmx_recalc_msr_intercepts()
4092 vmx_disable_intercept_for_msr(vcpu, MSR_IA32_APERF, MSR_TYPE_R); in vmx_recalc_msr_intercepts()
4093 vmx_disable_intercept_for_msr(vcpu, MSR_IA32_MPERF, MSR_TYPE_R); in vmx_recalc_msr_intercepts()
4107 vmx_set_intercept_for_msr(vcpu, MSR_IA32_XFD_ERR, MSR_TYPE_R, in vmx_recalc_msr_intercepts()
H A Dnested.c570 if (type & MSR_TYPE_R && !vmx_test_msr_bitmap_read(msr_bitmap_l1, msr)) in nested_vmx_disable_intercept_for_x2apic_msr()
609 if (types & MSR_TYPE_R) in BUILD_NVMX_MSR_INTERCEPT_HELPER()
681 MSR_TYPE_R | MSR_TYPE_W); in nested_vmx_prepare_msr_bitmap()
719 MSR_IA32_APERF, MSR_TYPE_R); in nested_vmx_prepare_msr_bitmap()
722 MSR_IA32_MPERF, MSR_TYPE_R); in nested_vmx_prepare_msr_bitmap()
/linux/arch/x86/kvm/svm/
H A Dsvm.c689 if (type & MSR_TYPE_R) { in svm_set_intercept_for_msr()
843 svm_disable_intercept_for_msr(vcpu, MSR_IA32_APERF, MSR_TYPE_R); in svm_recalc_msr_intercepts()
844 svm_disable_intercept_for_msr(vcpu, MSR_IA32_MPERF, MSR_TYPE_R); in svm_recalc_msr_intercepts()