Re: [PATCH 6/8] device-assignment: Move PCI capabilities to match physical hardware

2010-11-12 Thread Michael S. Tsirkin
On Thu, Nov 11, 2010 at 07:56:13PM -0700, Alex Williamson wrote: Now that common PCI code doesn't have a hangup on capabilities being contiguous, Hmm, this comment confused me : there's no requirement of contigious allocations in current code in pci.c, is there? -- MST -- To unsubscribe from

Re: [PATCH 6/8] device-assignment: Move PCI capabilities to match physical hardware

2010-11-12 Thread Alex Williamson
On Fri, 2010-11-12 at 11:20 +0200, Michael S. Tsirkin wrote: On Thu, Nov 11, 2010 at 07:56:13PM -0700, Alex Williamson wrote: Now that common PCI code doesn't have a hangup on capabilities being contiguous, Hmm, this comment confused me : there's no requirement of contigious allocations

[PATCH 6/8] device-assignment: Move PCI capabilities to match physical hardware

2010-11-11 Thread Alex Williamson
Now that common PCI code doesn't have a hangup on capabilities being contiguous, move assigned device capabilities to match their offset on physical hardware. This helps for drivers that assume a capability configuration and don't bother searching. We can also remove several calls to