Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/kvm/svm/
Dsvm.c617 u32 *msrpm; in msr_write_intercepted() local
619 msrpm = is_guest_mode(vcpu) ? to_svm(vcpu)->nested.msrpm: in msr_write_intercepted()
620 to_svm(vcpu)->msrpm; in msr_write_intercepted()
624 tmp = msrpm[offset]; in msr_write_intercepted()
631 static void set_msr_interception_bitmap(struct kvm_vcpu *vcpu, u32 *msrpm, in set_msr_interception_bitmap() argument
654 tmp = msrpm[offset]; in set_msr_interception_bitmap()
661 msrpm[offset] = tmp; in set_msr_interception_bitmap()
664 static void set_msr_interception(struct kvm_vcpu *vcpu, u32 *msrpm, u32 msr, in set_msr_interception() argument
668 set_msr_interception_bitmap(vcpu, msrpm, msr, read, write); in set_msr_interception()
674 u32 *msrpm; in svm_vcpu_alloc_msrpm() local
[all …]
Dsvm.h92 u32 *msrpm; member
134 u32 *msrpm; member
353 void svm_vcpu_init_msrpm(struct kvm_vcpu *vcpu, u32 *msrpm);
354 void svm_vcpu_free_msrpm(u32 *msrpm);
Dnested.c211 svm->nested.msrpm[p] = svm->msrpm[p] | value; in nested_svm_vmrun_msrpm()
214 svm->vmcb->control.msrpm_base_pa = __sme_set(__pa(svm->nested.msrpm)); in nested_svm_vmrun_msrpm()
756 svm->nested.msrpm = svm_vcpu_alloc_msrpm(); in svm_allocate_nested()
757 if (!svm->nested.msrpm) in svm_allocate_nested()
759 svm_vcpu_init_msrpm(&svm->vcpu, svm->nested.msrpm); in svm_allocate_nested()
774 svm_vcpu_free_msrpm(svm->nested.msrpm); in svm_free_nested()
775 svm->nested.msrpm = NULL; in svm_free_nested()