[libvirt] [PATCHv3 0/2] pci: properly handle out-of-order SRIOV virtual functions

Ján Tomko jtomko at redhat.com
Fri Nov 8 12:04:15 UTC 2013


On 11/08/2013 12:11 PM, Laine Stump wrote:
> This resolves:
> 
>   https://bugzilla.redhat.com/show_bug.cgi?id=1025397
> 
> It has turned from a single patch into a 2 part patch because I wanted
> to use VIR_APPEND_ELEMENT on the array, and that requires the array
> size to be held in a size_t rather than unsigned int.
> 
> Thanks to Martin's suggestion (and similar suggestions from both Jan
> and "Niilona" (the original reporter of the problem), this version is
> greatly simplified from either my previous version or even the
> original code (as evidenced by the diffstat).
> 
> Laine Stump (2):
>   util: use size_t instead of unsigned int for num_virtual_functions
>   pci: properly handle out-of-order SRIOV virtual functions
> 
>  src/conf/node_device_conf.h |  2 +-
>  src/network/bridge_driver.c |  2 +-
>  src/util/virnetdev.c        |  4 +--
>  src/util/virnetdev.h        |  2 +-
>  src/util/virpci.c           | 84 +++++++++++++++------------------------------
>  src/util/virpci.h           |  2 +-
>  6 files changed, 34 insertions(+), 62 deletions(-)

ACK

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131108/ac6cd1c6/attachment-0001.sig>


More information about the libvir-list mailing list