[RFC] virCommandRun return error number

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

 



Hi all,

I copy portions of libvirt/src/storage/storage_backend_sheepdog.c
[...]
125     ret = virCommandRun(cmd, NULL);
126     if (ret == 0)
127         ret = virStorageBackendSheepdogParseNodeInfo(pool->def, output);
[...]

I found virCommandRun may return '-1', which hinds something error happens.
However, Sheepdog hasn't check here. Maybe i have come up with this bug.
I cannot remember clearly. Could anyone please give me some suggestions?
If ture, i will give a patch for this bug ;-).


--
Thanks
Harry Wei

--
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]