summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-02-25 10:54:26 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2020-02-28 12:33:17 +0300
commit7943f4acea3caf0b6d5b6cdfce7d5a2b4a9aa608 (patch)
treebafefb073f8bbe836e51354a19bbd5ecfa662cd2 /include
parenta93236fcbe1d0248461b29c0f87cb0b510c94e6f (diff)
downloadlinux-7943f4acea3caf0b6d5b6cdfce7d5a2b4a9aa608.tar.xz
KVM: SVM: allocate AVIC data structures based on kvm_amd module parameter
Even if APICv is disabled at startup, the backing page and ir_list need to be initialized in case they are needed later. The only case in which this can be skipped is for userspace irqchip, and that must be done because avic_init_backing_page dereferences vcpu->arch.apic (which is NULL for userspace irqchip). Tested-by: rmuncrief@humanavance.com Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=206579 Reviewed-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions