Re: [PATCH] pci-assign: Fix multifunction support

Marcelo Tosatti
2012-01-18T13:52:19Z

On Mon, Jan 16, 2012 at 10:11:51AM -0700, Alex Williamson wrote:
> The core PCI code sets the multifunction bit in the header before
> calling the device initfn. For device assignment, we're blasting
> that value with the actual hardware value, so nobody sees the
> additional functions if the devices isn't physically multifunction.
> Switch the HEADER_TYPE to a fully emulated field (all read-only
> anyway) and add setting and clearing of the multifunction bit to
> match qemu directive.
>
> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>

Applied, thanks.