]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: nodedev: Convert virNodeDevObjHasCapStr to a simple wrapper
authorErik Skultety <eskultet@redhat.com>
Tue, 23 Jan 2018 11:38:26 +0000 (12:38 +0100)
committerErik Skultety <eskultet@redhat.com>
Mon, 29 Jan 2018 14:34:30 +0000 (15:34 +0100)
commitb20ec49e57d17b57e503c74aead8d0823d3ff5a0
treefc852603d2009bc835a695986007ef4daabb1609
parent54cab1051815177034388f6ef395b80c6597f362
conf: nodedev: Convert virNodeDevObjHasCapStr to a simple wrapper

This patch drops the capability matching redundancy by simply converting
the string input to our internal types which are then in turn used for
the actual capability matching.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
src/conf/virnodedeviceobj.c