summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-01-22 17:02:36 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2020-02-05 15:17:44 +0100
commite8ef2a19a051b755b0b9973ef1b3f81e895e2bce (patch)
treea6b840e4e129e3aff63464ec0171e96adc7fb74c
parentkvm: ioapic: Lazy update IOAPIC EOI (diff)
downloadlinux-e8ef2a19a051b755b0b9973ef1b3f81e895e2bce.tar.xz
linux-e8ef2a19a051b755b0b9973ef1b3f81e895e2bce.zip
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>
-rw-r--r--arch/x86/kvm/svm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 0b05967aa455..bf0556588ad0 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -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;
}