From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4jr2-0002v8-5b for qemu-devel@nongnu.org; Wed, 18 Oct 2017 04:37:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4jqz-00086W-1r for qemu-devel@nongnu.org; Wed, 18 Oct 2017 04:37:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57346) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e4jqy-00085t-SL for qemu-devel@nongnu.org; Wed, 18 Oct 2017 04:37:28 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id F3447C04AC44 for ; Wed, 18 Oct 2017 08:37:27 +0000 (UTC) From: Juan Quintela In-Reply-To: <20171012054621.GB30901@pxdev.xzpeter.org> (Peter Xu's message of "Thu, 12 Oct 2017 13:46:21 +0800") References: <20171010181542.24168-1-quintela@redhat.com> <20171010181542.24168-2-quintela@redhat.com> <20171012054621.GB30901@pxdev.xzpeter.org> Reply-To: quintela@redhat.com Date: Wed, 18 Oct 2017 10:37:22 +0200 Message-ID: <87h8uwonr1.fsf@secure.laptop> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 01/10] migration: Fix migrate_test_apply for multifd parameters List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Xu Cc: qemu-devel@nongnu.org, dgilbert@redhat.com, lvivier@redhat.com Peter Xu wrote: > On Tue, Oct 10, 2017 at 08:15:33PM +0200, Juan Quintela wrote: >> They were missing when introduced on the tree >> >> Signed-off-by: Juan Quintela >> --- >> migration/migration.c | 6 ++++++ >> 1 file changed, 6 insertions(+) >> >> diff --git a/migration/migration.c b/migration/migration.c >> index 98429dc843..fb62a639d8 100644 >> --- a/migration/migration.c >> +++ b/migration/migration.c >> @@ -865,6 +865,12 @@ static void migrate_params_test_apply(MigrateSetParameters *params, >> if (params->has_block_incremental) { >> dest->block_incremental = params->block_incremental; >> } > > (newline?) I preffer without it. At least in migration we have code with both approachs. > >> + if (params->has_x_multifd_channels) { >> + dest->x_multifd_channels = params->x_multifd_channels; >> + } > > (newline?) > >> + if (params->has_x_multifd_page_count) { >> + dest->x_multifd_page_count = params->x_multifd_page_count; >> + } >> } >> >> static void migrate_params_apply(MigrateSetParameters *params) >> -- >> 2.13.6 >> > > Reviewed-by: Peter Xu Thanks.