From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUYOp-0004ak-R4 for qemu-devel@nongnu.org; Wed, 26 Aug 2015 06:57:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUYOm-0007Ly-Jt for qemu-devel@nongnu.org; Wed, 26 Aug 2015 06:57:47 -0400 Received: from mga01.intel.com ([192.55.52.88]:42181) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUYOm-0007L3-FI for qemu-devel@nongnu.org; Wed, 26 Aug 2015 06:57:44 -0400 References: <1440133512-28005-1-git-send-email-guangrong.xiao@linux.intel.com> <20150821160508.GC5575@thinpad.lan.raisama.net> From: Xiao Guangrong Message-ID: <55DD9A36.8070809@linux.intel.com> Date: Wed, 26 Aug 2015 18:51:34 +0800 MIME-Version: 1.0 In-Reply-To: <20150821160508.GC5575@thinpad.lan.raisama.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] target-i386: enable cflushopt/clwb/pcommit instructions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost Cc: kvm@vger.kernel.org, mst@redhat.com, gleb@kernel.org, mtosatti@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com, imammedo@redhat.com, pbonzini@redhat.com, rth@twiddle.net On 08/22/2015 12:05 AM, Eduardo Habkost wrote: > On Fri, Aug 21, 2015 at 01:05:12PM +0800, Xiao Guangrong wrote: >> These instructions are used by NVDIMM drivers and the specification >> locates at: >> https://software.intel.com/sites/default/files/managed/0d/53/319433-022.pdf >> >> Let them be enabled on Broadwell on default >> >> Signed-off-by: Xiao Guangrong > > This breaks the ABI. If you change a CPU model you need machine compat > code (see the TYPE_X86_CPU entries in PC_COMPAT_2_3 for example). > > And you can only change the CPU model in a new machine-type if that > doesn't affect the runnability of a VM. In other words: > > If: > -machine pc-i440fx-2.4 -cpu ,enforcec > is runnable in a given host, then > -machine pc-i440fx-2.5 -cpu ,enforce > should be runnable too. > Eduardo, thanks for your info. I will dig into the code and fix this issue in the next version.