Skip to content

Commit

Permalink
KVM: SVM: allow AVIC without split irqchip
Browse files Browse the repository at this point in the history
SVM is now able to disable AVIC dynamically whenever the in-kernel PIT sets
up an ack notifier, so we can enable it even if in-kernel IOAPIC/PIC/PIT
are in use.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
Paolo Bonzini committed Feb 5, 2020
1 parent f458d03 commit e8ef2a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kvm/svm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2073,7 +2073,7 @@ static int svm_vm_init(struct kvm *kvm)
return ret;
}

kvm_apicv_init(kvm, avic && irqchip_split(kvm));
kvm_apicv_init(kvm, avic);
return 0;
}

Expand Down

0 comments on commit e8ef2a1

Please sign in to comment.