qemu-kvm: Don't break device assignment INTx
Commit 1a836445 moved pci.o from a target object to a generic hardware
object, which drops CONFIG_KVM_DEVICE_ASSIGNMENT. This results in
the device assignment kludge to update INTx vectors on interrupt
routing changes never getting called, which means device assignment
level triggered interrupts don't work. This mostly reverts that
commit, but makes pci.o conditional on CONFIG_PCI, which hopefully
addresses the original intent of the change. Fixes:
https://bugs.launchpad.net/qemu/+bug/730441
Reported-by: Yongjie Ren <yongjie.ren@intel.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
(cherry picked from commit 2124d7b42c2f0d88460d12fd33123fe67cad286f)
2 files changed