[libvirt] [PATCH v3 08/30] virpci: Introduce virPCIDeviceAddressCopy

Cole Robinson crobinso at redhat.com
Mon Dec 9 22:45:55 UTC 2019


On 12/2/19 9:26 AM, Michal Privoznik wrote:
> This helper is cleaner than plain memcpy() because one doesn't
> have to look into virPCIDeviceAddress struct to see if it
> contains any strings / pointers.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ACKed-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  src/libvirt_private.syms |  1 +
>  src/util/virpci.c        | 14 ++++++++++++++
>  src/util/virpci.h        |  4 ++++
>  3 files changed, 19 insertions(+)

Reviewed-by: Cole Robinson <crobinso at redhat.com>

- Cole




More information about the libvir-list mailing list