[libvirt] [PATCH 6/8] qemu: Introduce qemuMigrationReset

Peter Krempa pkrempa at redhat.com
Fri Apr 7 08:46:55 UTC 2017


On Wed, Apr 05, 2017 at 15:10:01 +0200, Jiri Denemark wrote:
> This new API is supposed to reset all migration parameters to make sure
> future migrations won't accidentally use them. This patch makes the
> first step and moves qemuMigrationResetTLS call inside
> qemuMigrationReset.
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/qemu/qemu_migration.c | 31 +++++++++++++++++++++++--------
>  src/qemu/qemu_migration.h |  5 +++++
>  src/qemu/qemu_process.c   |  4 ++--
>  3 files changed, 30 insertions(+), 10 deletions(-)

[...]

> diff --git a/src/qemu/qemu_migration.h b/src/qemu/qemu_migration.h
> index 5248f399d..28eb55056 100644
> --- a/src/qemu/qemu_migration.h
> +++ b/src/qemu/qemu_migration.h
> @@ -285,4 +285,9 @@ qemuMigrationResetTLS(virQEMUDriverPtr driver,
>                        char *in_tlsAlias,
>                        char *in_secAlias);
>  
> +void
> +qemuMigrationReset(virQEMUDriverPtr driver,
> +                   virDomainObjPtr vm,
> +                   qemuDomainAsyncJob job);
> +

This does not conform to the prevailing coding style in the file.

>  #endif /* __QEMU_MIGRATION_H__ */

ACK with ^^
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170407/13fdb208/attachment-0001.sig>


More information about the libvir-list mailing list