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(a)redhat.com>
ACKed-by: Peter Krempa <pkrempa(a)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(a)redhat.com>
- Cole