* Juan Quintela (quintela@redhat.com) wrote:
> Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
> ---
> migration/ram.c | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/migration/ram.c b/migration/ram.c
> index 14b7cbdbc9..c24b4cc771 100644
> --- a/migration/ram.c
> +++ b/migration/ram.c
> @@ -1312,10 +1312,12 @@ static void multifd_recv_terminate_threads(Error *err)
>
> qemu_mutex_lock(&p->mutex);
> p->quit = true;
> - /* We could arrive here for two reasons:
> - - normal quit, i.e. everything went fine, just finished
> - - error quit: We close the channels so the channel threads
> - finish the qio_channel_read_all_eof() */
> + /*
> + * We could arrive here for two reasons:
> + * - normal quit, i.e. everything went fine, just finished
> + * - error quit: We close the channels so the channel threads
> + * finish the qio_channel_read_all_eof()
> + */
> if (p->c) {
> qio_channel_shutdown(p->c, QIO_CHANNEL_SHUTDOWN_BOTH, NULL);
> }
> --
> 2.24.1
>
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK