Re: [PATCH v3 12/14] migration: reuse parameters check in toURI2 and toURI3

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

 



On Fri, Sep 18, 2015 at 18:05:50 +0300, Nikolay Shirokovskiy wrote:
> It is *not* a pure refactoring patch as it introduces offline check for older
> versions. Looks like it must be done that way and no one will be broken too.
> 
> Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@xxxxxxxxxxxxx>
> ---
>  src/libvirt-domain.c |   75 ++++++++++----------------------------------------
>  1 files changed, 15 insertions(+), 60 deletions(-)

I think you could squash this patch into the previous one which does
similar thing in *ToURI.

> diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c
> index eec45bd..fc61830 100644
> --- a/src/libvirt-domain.c
> +++ b/src/libvirt-domain.c
> @@ -4253,7 +4253,6 @@ virDomainMigrateToURI(virDomainPtr domain,
>      /* First checkout the source */
>      virCheckDomainReturn(domain, -1);
>      virCheckReadOnlyGoto(domain->conn->flags, error);
> -
>      virCheckNonNullArgGoto(duri, error);
>  
>      if (virDomainMigrateUnmanagedCheckCompat(domain, flags) < 0)

And this hunk definitely doesn't belong to this patch... one more reason
to squash patch 12 and 11 :-)

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]