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

Re: [libvirt] [PATCH] remove unnecessary eat-cookie



ping ...

在 2012-10-11四的 12:17 +0800,liguang写道:
> located at qemuMigrationConfirm
> 
> Signed-off-by: liguang <lig fnst cn fujitsu com>
> ---
>  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 cn fujitsu com
FNST linux kernel team



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