]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: hostdev: Introduce virDomainHostdevSubsysSCSIClear
authorErik Skultety <eskultet@redhat.com>
Thu, 9 Mar 2017 09:25:47 +0000 (10:25 +0100)
committerErik Skultety <eskultet@redhat.com>
Mon, 27 Mar 2017 13:39:35 +0000 (15:39 +0200)
commit428e71bd531382ae50becbde336e95fd0e895fe1
tree40b7aceb65caafa0e60b96136d963bde664535ba
parent83836d57c151529ae8b9538b9aeada44f5ab8193
conf: hostdev: Introduce virDomainHostdevSubsysSCSIClear

Just a tiny wrapper over the SCSI def clearing logic to drop some
if-else branches from a switch, mainly because extending the switch in
the future would render the current code with branching less readable.

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