Comments

kvm_irqchip_in_kernel() has an architecture specific meaning, so
we shouldn't be using it to determine whether to enabled KVM INTx
bypass. kvm_irqfds_enabled() seems most appropriate. Also use this
to protect our other call to kvm_check_extension() as that explodes
when KVM isn't enabled. Post 1.3 we might think about adding a
kvm_intx_via_irqfd_enabled() helper.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
---
Anthony, please include for 1.3. Thanks.
hw/vfio_pci.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)