[libvirt] [PATCH] storage: report VIR_ERR_NO_STORAGE_VOL when the file doesn't exist
Eric Blake
eblake at redhat.com
Fri Jun 13 14:52:36 UTC 2014
On 06/13/2014 08:48 AM, Giuseppe Scrivano wrote:
> Report VIR_ERR_NO_STORAGE_VOL instead of a system error when lstat
> fails because the file doesn't exist.
>
> Fixes this problem in virt-install:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1108922
>
> Signed-off-by: Giuseppe Scrivano <gscrivan at redhat.com>
> ---
> src/storage/storage_backend.c | 12 +++++++++---
> 1 file changed, 9 insertions(+), 3 deletions(-)
ACK
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140613/e170f279/attachment-0001.sig>
More information about the libvir-list
mailing list