From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEtAN-000738-Pb for qemu-devel@nongnu.org; Mon, 20 Jun 2016 02:58:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEtAJ-0002fh-Rx for qemu-devel@nongnu.org; Mon, 20 Jun 2016 02:58:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEtAJ-0002fW-M5 for qemu-devel@nongnu.org; Mon, 20 Jun 2016 02:58:35 -0400 References: <20160616060621.30422-3-haozhong.zhang@intel.com> <1d2312d2-4dd3-6a73-d0d7-84b4e8c749e2@redhat.com> <20160616102918.7geiaomeitldj7jy@hz-desktop> <20160616105529.dpmjjeqsdnf5cdnm@hz-desktop> <20160616173624.GO18662@thinpad.lan.raisama.net> <7e106359-c7e3-93b5-4cca-d669c26c873e@redhat.com> <20160616175822.GP18662@thinpad.lan.raisama.net> <20160617020105.mjelzxhdy5wcgqcm@hz-desktop> <20160617172016.GK18662@thinpad.lan.raisama.net> <20160620021136.mepymwylqvzsku55@hz-desktop> From: Paolo Bonzini Message-ID: Date: Mon, 20 Jun 2016 08:58:29 +0200 MIME-Version: 1.0 In-Reply-To: <20160620021136.mepymwylqvzsku55@hz-desktop> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v4 2/3] target-i386: add migration support for Intel LMCE List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost , qemu-devel@nongnu.org, Richard Henderson , "Michael S . Tsirkin" , Marcelo Tosatti , kvm@vger.kernel.org, Boris Petkov , Tony Luck , Andi Kleen , rkrcmar@redhat.com, Ashok Raj On 20/06/2016 04:11, Haozhong Zhang wrote: >>> > > Does that mean we can automatically enable LMCE for "-cpu host"? >> > >> > We can automatically enable LMCE for "-cpu host" if and only if >> > the host kernel supports LMCE. >> > > According to our discussion for KVM Patch 3, we may have to disable it > by default by -cpu host, so that pc-2.7 will not require new kernels > unless LMCE is required explicitly by users. -cpu host is a bit special, it requires the same processor and kernel on both sides of a migration. So it can enable LMCE. Paolo