]> xenbits.xensource.com Git - qemu-xen-4.1-testing.git/commit
passthrough: Read the PCI type bit from hardware
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 25 Jun 2009 17:24:23 +0000 (18:24 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 25 Jun 2009 17:29:47 +0000 (18:29 +0100)
commitec5e52d5cb2e6f8851c345b7c3095fe2030fff9c
tree693b51e8ac18f51ea6328f99d9e566daa617b066
parent7ee1be75ae25cd733b48cbc6a95a03f89eb14704
passthrough: Read the PCI type bit from hardware

Preparation for multi-fucntion devices in guests.

When scanning the PCI bus a guest* will only look for
functions 2-7 if the multifunction bit is set.

Cc: Dexuan Cui <dexuan.cui@intel.com>
Cc: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
[2/8; cross-compatibility issues with xen-unstable.hg]
hw/pass-through.c