]> xenbits.xensource.com Git - qemu-xen-4.0-testing.git/commit
passthrough: Read the interrupt pin from hardware
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 25 Jun 2009 17:26:00 +0000 (18:26 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 25 Jun 2009 17:29:41 +0000 (18:29 +0100)
commit7ee1be75ae25cd733b48cbc6a95a03f89eb14704
tree5c21c6782e5620219cb7c150c0d9790c6baf07f9
parent4ed8d0687d40c079561c8d6221c9b22bd6e585e5
passthrough: Read the interrupt pin from hardware

Preparation for multi-fucntion devices in guests.

Up until now guests have only seen devices with one function,
so it is both safe and sensible to always use INTA. But if
if multiple functions appear, it makes sense to use
the interrupt pin specified by the hardware.

Cc: Dexuan Cui <dexuan.cui@intel.com>
Cc: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Cc: Yuji Shimada <shimada-yxb@necst.nec.co.jp>
Signed-off-by: Simon Horman <horms@verge.net.au>
[1/8; cross-compatibility issues with xen-unstable.hg]
hw/pass-through.c
hw/pass-through.h
hw/pt-msi.c