]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nodedev: Add ability to filter by active state
authorJonathon Jongsma <jjongsma@redhat.com>
Fri, 10 Jul 2020 18:54:50 +0000 (13:54 -0500)
committerJonathon Jongsma <jjongsma@redhat.com>
Wed, 7 Apr 2021 20:03:34 +0000 (15:03 -0500)
commitb1bfe3e5c435fc42efea7e475621102f496032be
tree903cb0fd43691b4cbfaddb0dbdae74258065c2b6
parentb7a823177b836d82798d2ae104152368f097bacc
nodedev: Add ability to filter by active state

Add two flag values for virConnectListAllNodeDevices() so that we can
list only node devices that are active or inactive.

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
include/libvirt/libvirt-nodedev.h
src/conf/node_device_conf.h
src/conf/virnodedeviceobj.c
src/libvirt-nodedev.c
src/node_device/node_device_driver.c