Re: [PATCH] remove unnecessary eat-cookie

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

 



ping ...

在 2012-10-11四的 12:17 +0800,liguang写道:
> located at qemuMigrationConfirm
> 
> Signed-off-by: liguang <lig.fnst@xxxxxxxxxxxxxx>
> ---
>  src/qemu/qemu_migration.c |    4 ----
>  1 files changed, 0 insertions(+), 4 deletions(-)
> 
> diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c
> index 6845a97..26aacaf 100644
> --- a/src/qemu/qemu_migration.c
> +++ b/src/qemu/qemu_migration.c
> @@ -3157,7 +3157,6 @@ int qemuMigrationConfirm(struct qemud_driver *driver,
>                           unsigned int flags,
>                           int retcode)
>  {
> -    qemuMigrationCookiePtr mig;
>      virDomainEventPtr event = NULL;
>      int rv = -1;
>      VIR_DEBUG("driver=%p, conn=%p, vm=%p, cookiein=%s, cookieinlen=%d, "
> @@ -3172,8 +3171,6 @@ int qemuMigrationConfirm(struct qemud_driver *driver,
>                               ? QEMU_MIGRATION_PHASE_CONFIRM3
>                               : QEMU_MIGRATION_PHASE_CONFIRM3_CANCELLED);
>  
> -    if (!(mig = qemuMigrationEatCookie(driver, vm, cookiein, cookieinlen, 0)))
> -        return -1;
>      if (flags & VIR_MIGRATE_OFFLINE)
>          goto offline;
>  
> @@ -3213,7 +3210,6 @@ int qemuMigrationConfirm(struct qemud_driver *driver,
>      }
>  
>  offline:
> -    qemuMigrationCookieFree(mig);
>      rv = 0;
>  
>  cleanup:

-- 
liguang    lig.fnst@xxxxxxxxxxxxxx
FNST linux kernel team


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