KVM: SVM: allow AVIC without split irqchip
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 22 Jan 2020 16:02:36 +0000 (17:02 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 5 Feb 2020 14:17:44 +0000 (15:17 +0100)
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>
arch/x86/kvm/svm.c

index 0b05967..bf05565 100644 (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;
 }