Files
xemu/hw
Michael S. Tsirkin 3afa9bb488 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>
2012-07-19 17:11:47 +03:00
..
2012-02-24 14:01:19 +05:30
…
2012-07-04 15:52:55 +03:00
…
…
2012-02-07 22:11:04 +04:00
2012-02-15 09:39:21 -06:00
2012-03-14 22:20:26 +01:00
2012-01-22 07:27:06 +00:00
2012-03-14 22:20:26 +01:00
2012-03-14 22:20:26 +01:00
2012-03-14 22:20:26 +01:00
2012-03-17 16:30:06 +00:00
2012-05-16 18:04:44 -03:00
2012-03-14 22:20:26 +01:00
2012-01-13 10:55:56 -06:00
…
2012-02-15 09:39:21 -06:00
2012-03-14 22:20:26 +01:00
2012-02-15 09:39:21 -06:00
2012-03-14 22:20:26 +01:00
2012-02-15 09:39:21 -06:00
2012-03-14 22:20:26 +01:00
2012-03-14 22:20:26 +01:00
2012-03-14 22:20:26 +01:00
2012-02-15 09:39:21 -06:00
2012-03-24 13:06:41 +00:00
2012-02-15 09:39:21 -06:00
2011-12-06 09:56:41 +00:00
…
…
…
…
…
…
…
2012-03-13 14:57:12 +00:00
2012-01-13 10:55:56 -06:00
2012-03-14 22:20:26 +01:00
2012-03-14 22:20:26 +01:00
2012-03-14 22:20:26 +01:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
…
2012-01-04 02:48:14 +01:00
…
…
2012-02-15 09:39:21 -06:00
2012-03-19 10:52:52 +00:00
2012-03-14 22:20:26 +01:00
2012-07-04 15:52:55 +03:00
2012-01-13 10:55:56 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
…
…
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-03-14 22:20:26 +01:00
2012-02-15 09:39:21 -06:00
2012-03-14 22:20:26 +01:00
2012-02-17 11:13:05 +00:00
2012-05-25 18:21:12 +02:00
…
2012-02-10 10:44:52 +00:00
2012-02-15 09:39:21 -06:00
…
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-03-14 22:20:26 +01:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2011-12-06 09:56:41 +00:00
2011-12-14 11:09:12 +00:00
…
2012-04-26 12:54:17 +04:00
…
2012-02-15 09:39:21 -06:00
2012-03-07 12:27:41 +02:00
2012-03-07 12:27:41 +02:00
2012-03-14 22:20:26 +01:00
2012-02-15 09:39:21 -06:00
2012-03-19 11:30:56 +00:00
…
…
2012-03-30 08:14:11 -05:00
2012-03-30 08:14:11 -05:00
2012-02-15 09:39:21 -06:00
2012-04-28 20:51:54 +02:00
2012-02-24 13:36:04 -06:00
2012-03-14 22:20:26 +01:00
2012-02-15 09:39:21 -06:00
2012-03-14 22:20:26 +01:00
2012-03-14 22:20:26 +01:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
…
2012-02-15 09:39:21 -06:00
2011-12-14 11:08:23 +00:00
2011-12-14 11:08:23 +00:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-03-14 22:20:26 +01:00
2012-03-14 22:20:26 +01:00
2011-11-28 15:38:42 +02:00
2012-03-14 22:20:26 +01:00
2011-11-28 15:38:42 +02:00
2012-03-14 22:20:26 +01:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-03-14 22:20:26 +01:00
2012-03-14 22:20:26 +01:00
2012-03-14 22:20:26 +01:00
2012-03-14 22:20:26 +01:00
2012-03-15 20:55:45 +01:00
2012-03-14 22:20:26 +01:00
2012-03-14 22:20:26 +01:00
2012-03-14 22:20:26 +01:00
2012-02-22 09:02:19 -06:00
2012-03-14 22:20:26 +01:00
2012-05-16 18:04:44 -03:00
2012-06-18 10:21:12 +03:00
2012-06-18 10:21:12 +03:00
2012-02-15 09:39:21 -06:00
2012-03-14 22:20:26 +01:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
…
2012-03-15 16:54:21 +00:00
2012-03-15 16:54:21 +00:00
2011-11-28 15:38:41 +02:00
2012-02-15 09:39:21 -06:00
2012-03-15 16:54:21 +00:00
2012-02-15 09:39:21 -06:00
2012-03-24 13:06:41 +00:00
2011-11-28 15:38:41 +02:00
2012-03-15 16:54:21 +00:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-05-03 07:04:48 +02:00
2011-11-24 18:32:03 +02:00
2012-07-19 17:11:47 +03:00
2012-07-19 17:11:47 +03:00
2012-01-27 10:50:50 -06:00
2012-02-15 09:39:21 -06:00
…
2012-02-17 09:58:22 -06:00
2012-02-17 09:58:22 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-03-30 10:31:23 +00:00
2012-02-15 09:39:21 -06:00
2011-12-14 11:08:23 +00:00
2011-12-14 11:08:23 +00:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-03-14 22:20:26 +01:00
2012-02-15 09:39:21 -06:00
2012-03-14 22:20:26 +01:00
2012-03-14 22:20:26 +01:00
2012-03-14 22:20:26 +01:00
…
2012-03-14 22:20:26 +01:00
2012-03-14 22:20:26 +01:00
2012-03-14 22:20:26 +01:00
2012-03-14 22:20:26 +01:00
2012-02-15 09:39:21 -06:00
2012-04-07 14:00:45 +00:00
2012-04-12 11:14:29 +01:00
2012-03-14 22:20:26 +01:00
2012-03-14 22:20:26 +01:00
2012-02-15 09:39:21 -06:00
2012-03-14 22:20:26 +01:00
2012-05-21 15:40:51 -05:00
2012-03-14 22:20:26 +01:00
…
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-05-07 08:44:21 +02:00
…
2012-02-15 09:39:21 -06:00
2011-12-06 09:56:41 +00:00
2012-02-15 09:39:21 -06:00
2011-11-24 18:32:03 +02:00
2012-03-14 22:20:26 +01:00
…
2012-03-14 22:20:26 +01:00
2012-06-07 17:18:58 +03:00
2012-03-16 00:41:15 +02:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-03-16 00:41:28 +02:00
2012-03-16 00:41:28 +02:00
2012-01-13 10:55:56 -06:00
…
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
…
…
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
…
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-03-14 22:20:26 +01:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-04-07 14:00:45 +00:00
…
2012-05-19 15:39:04 +00:00
2012-02-15 09:39:21 -06:00
…
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
…
…
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-04-17 10:23:21 +02:00
2012-02-15 09:39:21 -06:00
2012-03-14 22:20:26 +01:00
2012-02-04 12:45:10 +00:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-04 12:45:10 +00:00
2012-04-11 13:19:32 +03:00
2012-03-14 22:20:26 +01:00
2012-02-15 09:39:21 -06:00
2012-03-16 00:45:23 +02:00
2012-04-25 10:53:47 +03:00
2012-05-21 15:40:50 -05:00
2012-02-15 09:39:21 -06:00
2012-03-14 22:20:26 +01:00
2012-01-22 07:27:06 +00:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-03-14 22:20:26 +01:00
2012-05-21 15:40:51 -05:00
2012-05-16 18:04:44 -03:00
…
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00
2012-03-14 22:20:26 +01:00
…
2012-03-14 22:20:26 +01:00
2012-03-14 22:20:26 +01:00
2012-03-14 22:20:26 +01:00
2012-02-15 09:39:21 -06:00
2012-03-09 07:02:50 -06:00