xen/irq: Cleanup up the pirq_to_irq for DomU PV PCI passthrough guests as well.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 17 Feb 2011 16:23:58 +0000 (11:23 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 3 Mar 2011 17:02:22 +0000 (12:02 -0500)
commit1aa0b51a033d4a1ec6d29d06487e053398afa21b
tree1a6002c4f2d703765371b3a091612c2e90b7fcca
parent676dc3cf5bc36a9e129a3ad8fe3bd7b2ebf20f5d
xen/irq: Cleanup up the pirq_to_irq for DomU PV PCI passthrough guests as well.

We only did this for PV guests that are xen_initial_domain() but
there is not reason not to do this for other cases. The other
case is only exercised when you pass in a PCI device to a PV guest
_and_ the device in question.

Reviewed-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/events.c