]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Report error if vhost-scsi device file cannot be found
authorJohn Ferlan <jferlan@redhat.com>
Tue, 12 Dec 2017 13:31:03 +0000 (08:31 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 13 Dec 2017 20:37:30 +0000 (15:37 -0500)
commit211415492266084e9652615de07eb1527878e2c2
treecbf40a4e9317b0d280a2a44ed67414f5ddb0a398
parent9e030093f20d6e5a70272af8e3826823de24f73a
util: Report error if vhost-scsi device file cannot be found

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

If the vhost-scsi device file cannot be found, the generic error

    "error: An error occurred, but the cause is unknown"

is returned.  Let's add a real error message to make it clear
why the failure occurred.
src/util/virscsivhost.c