]> xenbits.xensource.com Git - qemu-xen-4.0-testing.git/commit
passthrough: Use physical INTX for virtual PCI functions
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 4 Aug 2009 14:25:30 +0000 (15:25 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 4 Aug 2009 14:25:30 +0000 (15:25 +0100)
commit6b80a2a8075edb610bc84e130a82caf151de4f15
treef41750542c9ecf5f03d4d9eaa57ab7d9eab1edcd
parent74c42c89c2fb73b76fdc098749603eedaf003d33
passthrough: Use physical INTX for virtual PCI functions

Allow virtual functions to use the legacy interrupt pin of the
corresponding physical device.  This is already half-implemented
by the code that uses pci_read_intx() in pass-through.c. This fills
in a missing piece.

An alternate solution is to reverse the previously applied pci_read_intx()
code and revert to always using INTA. However, that seems likely to lead to
excessive sharing of interrupt pins when multi-function pass-through is
used.

Tested-by: Tom Rotenberg <tom.rotenberg@gmail.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
hw/pass-through.c