Skip to content
Commit 67034bb9 authored by Suravee Suthikulpanit's avatar Suravee Suthikulpanit Committed by Radim Krčmář
Browse files

KVM: SVM: Add irqchip_split() checks before enabling AVIC



SVM AVIC hardware accelerates guest write to APIC_EOI register
(for edge-trigger interrupt), which means it does not trap to KVM.

So, only enable SVM AVIC only in split irqchip mode.
(e.g. launching qemu w/ option '-machine kernel_irqchip=split').

Suggested-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: default avatarSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Fixes: 44a95dae

 ("KVM: x86: Detect and Initialize AVIC support")
[Removed pr_debug - Radim.]
Signed-off-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
parent b2a05fef
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment