Bharat Bhushan 3016dca06c PPC: e500: implement PCI INTx routing
This patch adds pci pin to irq_num routing callback.
This callback is called from pci_device_route_intx_to_irq to
find which pci device maps to which irq.
This fix is required for pci-device passthrough using vfio.

Also without this patch we gets below prints

"
  PCI: Bug - unimplemented PCI INTx routing (e500-pcihost)
  qemu-system-ppc64: PCI: Bug - unimplemented PCI INTx routing (e500-pcihost) "

and Legacy interrupt does not work with pci device passthrough.

Signed-off-by: Bharat Bhushan <Bharat.Bhushan@freescale.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
[agraf: remove double semicolon]
Signed-off-by: Alexander Graf <agraf@suse.de>
2014-06-16 13:24:34 +02:00
2014-06-10 19:39:34 +04:00
2014-06-10 07:44:01 +02:00
2014-06-16 13:24:34 +02:00
2014-06-16 13:24:33 +02:00
2014-05-20 13:05:58 +02:00
2014-06-02 16:49:00 +02:00
2014-06-02 16:49:00 +02:00
2014-06-09 15:43:40 +02:00
2014-06-05 16:10:33 +02:00
2014-06-05 16:10:33 +02:00
2014-06-05 16:10:33 +02:00
2014-06-10 09:50:27 +02:00
2014-06-05 16:10:33 +02:00
2014-06-16 04:55:27 +02:00
2014-06-13 12:34:57 +02:00
2014-06-16 13:24:33 +02:00
2014-03-12 17:26:32 +01:00
2014-06-09 15:43:40 +02:00
2013-10-11 09:34:56 -07:00
2014-06-12 09:51:41 +01:00
2014-06-05 16:10:33 +02:00
2014-06-11 10:10:28 -04:00
2014-05-20 11:57:52 +01:00
2014-06-09 15:43:40 +02:00
2014-05-24 00:07:29 +04:00
2014-03-13 14:34:16 +00:00
2014-05-28 17:36:21 +02:00
2014-04-18 10:33:36 +04:00
2014-06-04 11:30:32 +02:00
2014-06-09 15:43:40 +02:00
2014-05-28 14:28:46 +02:00
2014-05-24 00:07:29 +04:00
2013-10-11 09:34:56 -07:00
2014-06-10 13:59:02 +02:00
2014-02-17 11:57:23 -05:00
2014-06-05 16:10:33 +02:00
2014-04-17 20:39:32 +01:00
2013-10-11 09:34:56 -07:00
2014-06-09 15:43:40 +02:00
2014-05-07 16:16:43 +00:00
2014-06-11 00:25:06 +01:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
QEMU With E2K User Support
Readme 459 MiB
Languages
C 83.1%
C++ 6.3%
Python 3.2%
Dylan 2.8%
Shell 1.6%
Other 2.8%