Re: [PATCH RESEND 14/20] virhostdev.c: add virHostdevIsPCIDevice() helper

2021-02-21 Thread Laine Stump
On 1/18/21 2:53 PM, Daniel Henrique Barboza wrote: Add a helper to quickly determine if a hostdev is a PCI device, instead of doing a tedius 'if' check with hostdev mode and s/tedius/tedious/ subsys type. Signed-off-by: Daniel Henrique Barboza Reviewed-by: Laine Stump

[PATCH RESEND 14/20] virhostdev.c: add virHostdevIsPCIDevice() helper

2021-01-18 Thread Daniel Henrique Barboza
Add a helper to quickly determine if a hostdev is a PCI device, instead of doing a tedius 'if' check with hostdev mode and subsys type. Signed-off-by: Daniel Henrique Barboza --- src/hypervisor/virhostdev.c | 12 +--- src/hypervisor/virhostdev.h | 2 ++ src/libvirt_private.syms| 1