Received: from eggs.gnu.org ([2001:4830:134:3::10]:48440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDucQ-0000K5-NV for qemu-devel@nongnu.org; Fri, 17 Jun 2016 10:19:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bDucL-0001Vl-No for qemu-devel@nongnu.org; Fri, 17 Jun 2016 10:19:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDucL-0001Vh-HS for qemu-devel@nongnu.org; Fri, 17 Jun 2016 10:19:29 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1D7C8C0828DF for ; Fri, 17 Jun 2016 14:19:29 +0000 (UTC) References: <1466097133-5489-1-git-send-email-dgilbert@redhat.com> <1466097133-5489-4-git-send-email-dgilbert@redhat.com> <20160616201408.GX18662@thinpad.lan.raisama.net> <20160617124641.GZ18662@thinpad.lan.raisama.net> <4371f52c-335b-95dd-0a50-432d876f0784@redhat.com> <20160617135150.GH2273@work-vm> From: Paolo Bonzini Message-ID: <94f67cda-ff1a-6e31-0f42-0f656240af5b@redhat.com> Date: Fri, 17 Jun 2016 16:19:20 +0200 MIME-Version: 1.0 In-Reply-To: <20160617135150.GH2273@work-vm> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 3/5] x86: fill high bits of mtrr mask List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert" Cc: Eduardo Habkost , aarcange@redhat.com, qemu-devel@nongnu.org On 17/06/2016 15:51, Dr. David Alan Gilbert wrote: > >> > Note that the failure mode is pretty brutal since KVM reports an >> > internal error right after restarting on the destination, and who knows >> > what used to happen before the assertion was introduced. All MSRs after >> > MTRRs would be ignored by KVM! > I think we got lucky because the MTRRs were close to the last MSRs > in the list, there was only some MCG/MCE stuff after it which probably > wouldn't have been missed; if the MTRR wasn't set I'm guessing someone > would have just had a behaviour that looked like dreadful performance > after migration perhaps? No, MTRRs are only used by KVM if there's an assigned device, and that's incompatible with migration. Paolo