Home
last modified time | relevance | path

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

/linux/arch/x86/kvm/
H A Dx86.h661 MSR_TYPE_W = BIT(1), enumerator
662 MSR_TYPE_RW = MSR_TYPE_R | MSR_TYPE_W,
H A Dx86.c524 const char *op = rw == MSR_TYPE_W ? "wrmsr" : "rdmsr"; in kvm_do_msr_access()
527 BUILD_BUG_ON(rw != MSR_TYPE_R && rw != MSR_TYPE_W); in kvm_do_msr_access()
1957 return kvm_do_msr_access(vcpu, index, &data, host_initiated, MSR_TYPE_W, in kvm_set_msr_ignored_check()
3881 BUILD_BUG_ON(access != MSR_TYPE_R && access != MSR_TYPE_W); in kvm_access_xstate_msr()
3896 kvm_access_xstate_msr(vcpu, msr_info, MSR_TYPE_W); in kvm_set_xstate_msr()
/linux/arch/x86/kvm/vmx/
H A Dnested.c580 if (type & MSR_TYPE_W && !vmx_test_msr_bitmap_write(msr_bitmap_l1, msr)) in nested_vmx_disable_intercept_for_x2apic_msr()
619 if (types & MSR_TYPE_W) in BUILD_NVMX_MSR_INTERCEPT_HELPER()
632 nested_vmx_merge_msr_bitmaps(msr, MSR_TYPE_W)
729 MSR_TYPE_R | MSR_TYPE_W); in nested_vmx_prepare_msr_bitmap()
735 MSR_TYPE_W); in nested_vmx_prepare_msr_bitmap()
739 MSR_TYPE_W); in nested_vmx_prepare_msr_bitmap()
H A Dvmx.c4203 if (type & MSR_TYPE_W) { in vmx_set_intercept_for_msr()
4264 vmx_disable_intercept_for_msr(vcpu, X2APIC_MSR(APIC_EOI), MSR_TYPE_W); in vmx_update_msr_bitmap_x2apic()
4265 vmx_disable_intercept_for_msr(vcpu, X2APIC_MSR(APIC_SELF_IPI), MSR_TYPE_W); in vmx_update_msr_bitmap_x2apic()
4385 vmx_set_intercept_for_msr(vcpu, MSR_IA32_PRED_CMD, MSR_TYPE_W, in vmx_recalc_msr_intercepts()
4389 vmx_set_intercept_for_msr(vcpu, MSR_IA32_FLUSH_CMD, MSR_TYPE_W, in vmx_recalc_msr_intercepts()
/linux/arch/x86/kvm/svm/
H A Dsvm.c680 if (type & MSR_TYPE_W) { in svm_set_intercept_for_msr()
788 svm_set_intercept_for_msr(vcpu, MSR_IA32_PRED_CMD, MSR_TYPE_W, in svm_recalc_msr_intercepts()
792 svm_set_intercept_for_msr(vcpu, MSR_IA32_FLUSH_CMD, MSR_TYPE_W, in svm_recalc_msr_intercepts()