Received: from eggs.gnu.org ([2001:4830:134:3::10]:35572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wketp-0000jZ-9C for qemu-devel@nongnu.org; Wed, 14 May 2014 15:31:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wketi-0001JP-Lm for qemu-devel@nongnu.org; Wed, 14 May 2014 15:31:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wketi-0001JI-9X for qemu-devel@nongnu.org; Wed, 14 May 2014 15:31:26 -0400 From: Eduardo Habkost Date: Wed, 14 May 2014 16:30:07 -0300 Message-Id: <1400095810-27684-16-git-send-email-ehabkost@redhat.com> In-Reply-To: <1400095810-27684-1-git-send-email-ehabkost@redhat.com> References: <1400095810-27684-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH RESEND v4 15/18] target-i386: Set migratable=yes by default List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, =?UTF-8?q?Andreas=20F=C3=A4rber?= 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 105006b..d43209e 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