diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-01-22 17:02:36 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-02-05 15:17:44 +0100 |
commit | e8ef2a19a051b755b0b9973ef1b3f81e895e2bce (patch) | |
tree | a6b840e4e129e3aff63464ec0171e96adc7fb74c /arch | |
parent | f458d039db7e8518041db4169d657407e3217008 (diff) | |
download | linux-e8ef2a19a051b755b0b9973ef1b3f81e895e2bce.tar.bz2 |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kvm/svm.c | 2 |
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; } |