KVM: SVM: allow AVIC without split irqchip

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>
This commit is contained in:
Paolo Bonzini
2020-02-05 15:17:44 +01:00
parent f458d039db
commit e8ef2a19a0
+1 -1
View File
@@ -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;
}