diff options
author | Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> | 2017-09-12 18:42:42 +0300 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2017-09-14 18:05:13 +0300 |
commit | 67034bb9dd5ecc0171bdacfbd31ebf7c2634df98 (patch) | |
tree | c9d34283e272a3244cf42c900eb226bb1aa35e01 /arch/powerpc | |
parent | b2a05feff274e007abd7cda0d2cdae7fdf5cbb0a (diff) | |
download | linux-67034bb9dd5ecc0171bdacfbd31ebf7c2634df98.tar.xz |
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: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Fixes: 44a95dae1d22 ("KVM: x86: Detect and Initialize AVIC support")
[Removed pr_debug - Radim.]
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions