Re: [PATCH] qemu: fix up NBD Server can not be stopped properly

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

 



On 11/04/2014 06:03 AM, weiwei li wrote:
> In qemuMigrationFinish mig->nbd can not be initialized by
> qemuMigrationEatCookie without a flag QEMU_MIGRATION_COOKIE_NBD.
> That cause qemuMigrationStopNBDServer return and the NBD server
> can not be stopped properly.
> 
> Signed-off-by: Weiwei Li <nuonuoli@xxxxxxxxxxx <mailto:nuonuoli@xxxxxxxxxxx>>

> Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx <mailto:jtomko@xxxxxxxxxx>>

You should only add Signed-off-by lines with your own name :)

> ---
>  src/qemu/qemu_migration.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c
> index 13239eb..9cb2a06 100644
> --- a/src/qemu/qemu_migration.c
> +++ b/src/qemu/qemu_migration.c
> @@ -4822,7 +4822,8 @@ qemuMigrationFinish(virQEMUDriverPtr driver,
>      VIR_FREE(priv->job.completed);
>  
>      cookie_flags = QEMU_MIGRATION_COOKIE_NETWORK |
> -                   QEMU_MIGRATION_COOKIE_STATS;
> +                   QEMU_MIGRATION_COOKIE_STATS |
> +   QEMU_MIGRATION_COOKIE_NBD;

This should be aligned with the other flags.

ACK and pushed now.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

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