Re: [PATCH] qemu: Report error if per-VM directory cannot be created

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 08, 2015 at 19:24:15 +0200, Martin Kletzander wrote:
> Commit f1f68ca33433 did not report an error if virFileMakePath()
> returned -1.  Well, who would've guessed function with name starting
> with 'vir' sets an errno instead of reporting an error the libvirt way.
> Anyway, let's fix it, so the output changes from:
> 
>   $ virsh start arm
>   error: Failed to start domain arm
>   error: An error occurred, but the cause is unknown
> 
> to:
> 
>   $ virsh start arm
>   error: Failed to start domain arm
>   error: Cannot create directory '/var/lib/libvirt/qemu/domain-arm': Not
>   a directory
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1146886
> 
> Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx>

ACK

Jirka

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]