summary refs log tree commit diff stats
path: root/scripts/tracetool/backend
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2012-07-19 17:11:47 +0300
committerMichael S. Tsirkin <mst@redhat.com>2012-07-19 17:11:47 +0300
commit3afa9bb488ea981d39255a25aaeb85eeafda41cb (patch)
treeca19d92075c2bbd653641880f5cac6ed85082c06 /scripts/tracetool/backend
parent7cf1b0fd95657e722b2ad290649eee88d1365786 (diff)
downloadfocaccia-qemu-3afa9bb488ea981d39255a25aaeb85eeafda41cb.tar.gz
focaccia-qemu-3afa9bb488ea981d39255a25aaeb85eeafda41cb.zip
pci: Add pci_device_route_intx_to_irq
Device assigned on KVM needs to know the mode
(enabled/inverted/disabled) and the IRQ number that a given device
triggers in the attached interrupt controller.

Add a PCI IRQ path discovery function that walks from a given device to
the host bridge, and gets this information.  For
this purpose, a host bridge callback function is introduced:
route_intx_to_irq. It is so far only implemented by the PIIX3, other
host bridges can be added later on as required.

Will be used for KVM PCI device assignment and VFIO.

Based on patch by Jan Kiszka, with minor tweaks.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/tracetool/backend')
0 files changed, 0 insertions, 0 deletions