Home
last modified time | relevance | path

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

/Linux-v5.10/arch/x86/kvm/svm/
Dsvm.c618 u32 *msrpm; in msr_write_intercepted() local
620 msrpm = is_guest_mode(vcpu) ? to_svm(vcpu)->nested.msrpm: in msr_write_intercepted()
621 to_svm(vcpu)->msrpm; in msr_write_intercepted()
625 tmp = msrpm[offset]; in msr_write_intercepted()
632 static void set_msr_interception_bitmap(struct kvm_vcpu *vcpu, u32 *msrpm, in set_msr_interception_bitmap() argument
655 tmp = msrpm[offset]; in set_msr_interception_bitmap()
662 msrpm[offset] = tmp; in set_msr_interception_bitmap()
665 static void set_msr_interception(struct kvm_vcpu *vcpu, u32 *msrpm, u32 msr, in set_msr_interception() argument
669 set_msr_interception_bitmap(vcpu, msrpm, msr, read, write); in set_msr_interception()
675 u32 *msrpm; in svm_vcpu_alloc_msrpm() local
[all …]
Dsvm.h92 u32 *msrpm; member
134 u32 *msrpm; member
356 void svm_vcpu_init_msrpm(struct kvm_vcpu *vcpu, u32 *msrpm);
357 void svm_vcpu_free_msrpm(u32 *msrpm);
Dnested.c191 svm->nested.msrpm[p] = svm->msrpm[p] | value; in nested_svm_vmrun_msrpm()
194 svm->vmcb->control.msrpm_base_pa = __sme_set(__pa(svm->nested.msrpm)); in nested_svm_vmrun_msrpm()
716 svm->nested.msrpm = svm_vcpu_alloc_msrpm(); in svm_allocate_nested()
717 if (!svm->nested.msrpm) in svm_allocate_nested()
719 svm_vcpu_init_msrpm(&svm->vcpu, svm->nested.msrpm); in svm_allocate_nested()
734 svm_vcpu_free_msrpm(svm->nested.msrpm); in svm_free_nested()
735 svm->nested.msrpm = NULL; in svm_free_nested()