]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nodedev: factor out function to add mediated devices
authorJonathon Jongsma <jjongsma@redhat.com>
Tue, 2 Mar 2021 17:14:06 +0000 (11:14 -0600)
committerJonathon Jongsma <jjongsma@redhat.com>
Wed, 7 Apr 2021 20:24:20 +0000 (15:24 -0500)
commit9e8e93dc6afbd2d5c9a7606983a24190e6105d77
treebc4147b72f39be89d24c16ae3cc441950d23484b
parentfd90678e3e71d513c1ecbb8856c29822ac36e177
nodedev: factor out function to add mediated devices

To accomodate re-use of this functionality in a following patch, split
out the processing of an individual mdev definition into a separate
function.

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
src/node_device/node_device_driver.c