Home
last modified time | relevance | path

Searched refs:msr_filter (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/arch/x86/kvm/
Dx86.c1793 struct kvm_x86_msr_filter *msr_filter; in kvm_msr_allowed() local
1806 msr_filter = srcu_dereference(kvm->arch.msr_filter, &kvm->srcu); in kvm_msr_allowed()
1807 if (!msr_filter) { in kvm_msr_allowed()
1812 allowed = msr_filter->default_allow; in kvm_msr_allowed()
1813 ranges = msr_filter->ranges; in kvm_msr_allowed()
1815 for (i = 0; i < msr_filter->count; i++) { in kvm_msr_allowed()
6520 struct kvm_x86_msr_filter *msr_filter; in kvm_alloc_msr_filter() local
6522 msr_filter = kzalloc(sizeof(*msr_filter), GFP_KERNEL_ACCOUNT); in kvm_alloc_msr_filter()
6523 if (!msr_filter) in kvm_alloc_msr_filter()
6526 msr_filter->default_allow = default_allow; in kvm_alloc_msr_filter()
[all …]
/linux-6.6.21/arch/x86/include/asm/
Dkvm_host.h1375 struct kvm_x86_msr_filter __rcu *msr_filter; member