Received: from eggs.gnu.org ([2001:4830:134:3::10]:52252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlG6K-0001kH-B8 for qemu-devel@nongnu.org; Fri, 16 May 2014 07:15:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WlG6E-0000Om-1f for qemu-devel@nongnu.org; Fri, 16 May 2014 07:14:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53566) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlG6D-0000Oh-P0 for qemu-devel@nongnu.org; Fri, 16 May 2014 07:14:49 -0400 Date: Fri, 16 May 2014 08:14:26 -0300 From: Marcelo Tosatti Message-ID: <20140516111426.GB30872@amt.cnet> References: <1398876525-28831-1-git-send-email-ehabkost@redhat.com> <1398876525-28831-16-git-send-email-ehabkost@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1398876525-28831-16-git-send-email-ehabkost@redhat.com> Subject: Re: [Qemu-devel] [PATCH v4 15/18] target-i386: Set migratable=yes by default List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost Cc: qemu-devel@nongnu.org, Paolo Bonzini , Igor Mammedov , Andreas =?iso-8859-1?Q?F=E4rber?= , Aurelien Jarno , Richard Henderson On Wed, Apr 30, 2014 at 01:48:42PM -0300, Eduardo Habkost wrote: > Having only migratable flags reported by default on the "host" CPU model > is safer for the following reasons: > > * Existing users may expect "-cpu host" to be migration-safe, if they > take care of always using compatible host CPUs, host kernels, and > QEMU versions. > * Users who don't care aboug migration and want to enable all features > supported by the host kernel can simply change their setup to use > migratable=no. > > Signed-off-by: Eduardo Habkost > --- > target-i386/cpu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/target-i386/cpu.c b/target-i386/cpu.c > index 9c30957..9ef27fc 100644 > --- a/target-i386/cpu.c > +++ b/target-i386/cpu.c > @@ -1232,7 +1232,7 @@ static int cpu_x86_fill_model_id(char *str) > static X86CPUDefinition host_cpudef; > > static Property x86_host_cpu_properties[] = { > - DEFINE_PROP_BOOL("migratable", X86CPU, migratable, false), > + DEFINE_PROP_BOOL("migratable", X86CPU, migratable, true), > DEFINE_PROP_END_OF_LIST() > }; > > -- > 1.9.0 Reviewed-by: Marcelo Tosatti