Re: [PATCH 5/8] Add additional error reporting to virsh.

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

 



2010/7/8 Chris Lalancette <clalance@xxxxxxxxxx>:
> With the change to make vshError() responsible for printing
> all errors, there were some places in the code that would no
> longer properly print errors.  The good news is that the vast
> majority of virsh was already printing errors, so this patch
> just cleans up the rest of the users to make them consistent.
>
> Signed-off-by: Chris Lalancette <clalance@xxxxxxxxxx>
> ---
>  tools/virsh.c |  228 +++++++++++++++++++++++++++++++++++++++++++--------------
>  1 files changed, 174 insertions(+), 54 deletions(-)
>

The patch as is look good, but I wonder how you spot all those places
that missed a vshError call. Did you manually go over the whole
virsh.c file and checked all libvirt API calls?

I just spot calls to virDomainMigrate and virDomainMigrateToURI
(around line 3040) that are not matched with a call to vshError, you
might want to fold that into your patch.

ACK.

Matthias

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