util: Move scsi_host specific functions from virutil

Create a virscsihost.c and place the functions there. That removes the
last #ifdef __linux__ from virutil.c.

Take the opporunity to also change the function names and in one case
the parameters slightly
This commit is contained in:
John Ferlan
2017-01-23 14:48:12 -05:00
parent d2d74a986d
commit 03346def06
11 changed files with 387 additions and 322 deletions

View File

@@ -242,6 +242,7 @@ src/util/virqemu.c
src/util/virrandom.c
src/util/virrotatingfile.c
src/util/virscsi.c
src/util/virscsihost.c
src/util/virscsivhost.c
src/util/virsecret.c
src/util/virsexpr.c