]> xenbits.xensource.com Git - libvirt.git/commit
nodedev: Introduce new mdev_types and mdev nodedev capabilities
authorErik Skultety <eskultet@redhat.com>
Mon, 6 Mar 2017 16:20:00 +0000 (17:20 +0100)
committerErik Skultety <eskultet@redhat.com>
Thu, 18 May 2017 10:20:15 +0000 (12:20 +0200)
commit4385df97fed24279fa8595a1a49c9f9b3eba5be1
treeb8a70a35a268da3e958125708d7f39e290eafe4e
parenta5c1f3b7e028193e8cb9f9a420ac2fdd5f4a66fe
nodedev: Introduce new mdev_types and mdev nodedev capabilities

The reason for introducing two capabilities, one for the device itself
(cap 'mdev') and one for the parent device listing the available types
('mdev_types'), is that we should be able to do
'virsh nodedev-list --cap' not only for existing mdev devices but also
for devices that support creation of mdev devices, since one day libvirt
might be actually able to create the mdev devices in an automated way
(just like we do for NPIV/vHBA).

https://bugzilla.redhat.com/show_bug.cgi?id=1452072

Signed-off-by: Erik Skultety <eskultet@redhat.com>
include/libvirt/libvirt-nodedev.h
src/conf/node_device_conf.c
src/conf/node_device_conf.h
src/conf/virnodedeviceobj.c
src/libvirt-nodedev.c
src/node_device/node_device_driver.c
src/node_device/node_device_udev.c
tools/virsh-nodedev.c