Home
last modified time | relevance | path

Searched refs:msrpm (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/arch/x86/kvm/svm/
Dsvm.c639 u32 *msrpm; in msr_write_intercepted() local
641 msrpm = is_guest_mode(vcpu) ? to_svm(vcpu)->nested.msrpm: in msr_write_intercepted()
642 to_svm(vcpu)->msrpm; in msr_write_intercepted()
646 tmp = msrpm[offset]; in msr_write_intercepted()
653 static void set_msr_interception_bitmap(struct kvm_vcpu *vcpu, u32 *msrpm, in set_msr_interception_bitmap() argument
676 tmp = msrpm[offset]; in set_msr_interception_bitmap()
683 msrpm[offset] = tmp; in set_msr_interception_bitmap()
689 void set_msr_interception(struct kvm_vcpu *vcpu, u32 *msrpm, u32 msr, in set_msr_interception() argument
693 set_msr_interception_bitmap(vcpu, msrpm, msr, read, write); in set_msr_interception()
700 u32 *msrpm; in svm_vcpu_alloc_msrpm() local
[all …]
Dsvm.h114 u32 *msrpm; member
150 u32 *msrpm; member
418 void svm_vcpu_init_msrpm(struct kvm_vcpu *vcpu, u32 *msrpm);
419 void svm_vcpu_free_msrpm(u32 *msrpm);
431 void set_msr_interception(struct kvm_vcpu *vcpu, u32 *msrpm, u32 msr,
Dnested.c222 svm->nested.msrpm[p] = svm->msrpm[p] | value; in nested_svm_vmrun_msrpm()
225 svm->vmcb->control.msrpm_base_pa = __sme_set(__pa(svm->nested.msrpm)); in nested_svm_vmrun_msrpm()
906 svm->nested.msrpm = svm_vcpu_alloc_msrpm(); in svm_allocate_nested()
907 if (!svm->nested.msrpm) in svm_allocate_nested()
909 svm_vcpu_init_msrpm(&svm->vcpu, svm->nested.msrpm); in svm_allocate_nested()
924 svm_vcpu_free_msrpm(svm->nested.msrpm); in svm_free_nested()
925 svm->nested.msrpm = NULL; in svm_free_nested()
Dsev.c2647 set_msr_interception(vcpu, svm->msrpm, MSR_EFER, 1, 1); in sev_es_init_vmcb()
2648 set_msr_interception(vcpu, svm->msrpm, MSR_IA32_CR_PAT, 1, 1); in sev_es_init_vmcb()
2649 set_msr_interception(vcpu, svm->msrpm, MSR_IA32_LASTBRANCHFROMIP, 1, 1); in sev_es_init_vmcb()
2650 set_msr_interception(vcpu, svm->msrpm, MSR_IA32_LASTBRANCHTOIP, 1, 1); in sev_es_init_vmcb()
2651 set_msr_interception(vcpu, svm->msrpm, MSR_IA32_LASTINTFROMIP, 1, 1); in sev_es_init_vmcb()
2652 set_msr_interception(vcpu, svm->msrpm, MSR_IA32_LASTINTTOIP, 1, 1); in sev_es_init_vmcb()