Received: from eggs.gnu.org ([2001:4830:134:3::10]:44503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWQOE-00030R-5s for qemu-devel@nongnu.org; Mon, 31 Aug 2015 10:49:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZWQO8-0005eb-HB for qemu-devel@nongnu.org; Mon, 31 Aug 2015 10:48:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWQO8-0005eW-Bk for qemu-devel@nongnu.org; Mon, 31 Aug 2015 10:48:48 -0400 Date: Mon, 31 Aug 2015 11:48:44 -0300 From: Eduardo Habkost Message-ID: <20150831144844.GA3808@thinpad.lan.raisama.net> References: <1440607825-24504-1-git-send-email-ehabkost@redhat.com> <20150831142054.3a3fede3@nial.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150831142054.3a3fede3@nial.brq.redhat.com> Subject: Re: [Qemu-devel] [PATCH] target-i386: Enable "check" mode by default List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov Cc: libvir-list@redhat.com, qemu-devel@nongnu.org, Bandan Das , Paolo Bonzini , Jiri Denemark , Andreas =?iso-8859-1?Q?F=E4rber?= On Mon, Aug 31, 2015 at 02:20:54PM +0200, Igor Mammedov wrote: > On Wed, 26 Aug 2015 13:50:25 -0300 > Eduardo Habkost wrote: > > Current default behavior of QEMU is to silently disable features that > > are not supported by the host when a CPU model is requested in the > > command-line. This means that in addition to risking breaking guest ABI > > by default, we are silent about it. > > > > I would like to enable "enforce" by default, but this can easily break > > existing production systems because of the way libvirt makes assumptions > > about CPU models today (this will change in the future, once QEMU > > provide a proper interface for checking if a CPU model is runnable). > > > > But there's no reason we should be silent about it. So, change > > target-i386 to enable "check" mode by default so at least we have some > > warning printed to stderr (and hopefully logged somewhere) when QEMU > > disables a feature that is not supported by the host system. > > > > Signed-off-by: Eduardo Habkost [...] > Reviewed-by: Igor Mammedov Thanks! Applied to x86 tree. -- Eduardo