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
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