[PATCH 0/6] util: Refactor fetching of virtual function list

Jano Tomko jtomko at redhat.com
Fri Aug 6 08:46:54 UTC 2021


On a %A in %Y, Peter Krempa wrote:
> Note that this applies on top of the 'VIR_APPEND_ELEMENT' refactor I've
> sent earlier.
> 
> Pipeline:
> https://gitlab.com/pipo.sk/libvirt/-/pipelines/348524810
> 
> Peter Krempa (6):
>   virNetDevGetVirtualFunctions: Remove 'max_vfs' argument
>   virPCIGetVirtualFunctions: Simplify cleanup of returned data
>   virPCIGetVirtualFunctionIndex: Refactor cleanup
>   virPCIGetNetName: Make 'physPortID' argument const
>   virPCIGetVirtualFunctions: Fetch also network interface name if needed
>   virNetDevGetVirtualFunctions: Directly return
>     virPCIVirtualFunctionList
> 
>  src/conf/node_device_conf.c |  16 +++--
>  src/libvirt_private.syms    |   2 +
>  src/network/bridge_driver.c |  23 ++-----
>  src/util/virnetdev.c        |  65 +++---------------
>  src/util/virnetdev.h        |   8 +--
>  src/util/virpci.c           | 127 +++++++++++++++++++++---------------
>  src/util/virpci.h           |  24 +++++--
>  7 files changed, 122 insertions(+), 143 deletions(-)
> 

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano




More information about the libvir-list mailing list