From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: kvm's vapic Date: Sun, 29 Jan 2012 17:31:20 +0100 Message-ID: <4F257458.3000609@web.de> References: <4F2567AE.8000509@web.de> <4F256AF2.1090106@redhat.com> <4F256B4D.4080501@redhat.com> <4F256BF2.1010906@web.de> <4F257380.1030108@redhat.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig9C49A3427F398500F0523F0E" Cc: Marcelo Tosatti , Gleb Natapov , kvm To: Avi Kivity Return-path: Received: from fmmailgate02.web.de ([217.72.192.227]:42035 "EHLO fmmailgate02.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752707Ab2A2QbX (ORCPT ); Sun, 29 Jan 2012 11:31:23 -0500 Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate02.web.de (Postfix) with ESMTP id B098C1C088223 for ; Sun, 29 Jan 2012 17:31:21 +0100 (CET) In-Reply-To: <4F257380.1030108@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9C49A3427F398500F0523F0E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2012-01-29 17:27, Avi Kivity wrote: > On 01/29/2012 05:55 PM, Jan Kiszka wrote: >> On 2012-01-29 16:52, Avi Kivity wrote: >>> On 01/29/2012 05:51 PM, Avi Kivity wrote: >>>>> Already the assumption that we find a CPU index at >>>>> fs:0x51 is apparently hard-coding this. Or that kernel code is at >>>>> 0x8xxxxxxx or 0xExxxxxxx. >>>>> >>>>> But what makes sure that we aren't patching some other obscure OS t= hat >>>>> doesn't comply with our assumptions but triggers the TPR access rep= orts >>>>> nevertheless?=20 >>>> >>>> Not much, but we've never had an issue. >>> >>> Checking that the bios is mapped at 0x[8e]0000000 + phys should filte= r >>> out most non-Windows OSes. >> >> Possibly. >> >> What about that major/minor version entries in the KPCR? Do they work,= >> and do we have a list of what should be there? >=20 > We don't. But things like the IDT/GTD/TSS and especially SelfPcr look > like good candidates. >=20 So fs.base should be SelfPcr? Will check. Jan --------------enig9C49A3427F398500F0523F0E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8ldFgACgkQitSsb3rl5xSl4gCg5szH68LBtbkznOTDCQwo7l15 FdMAnih43C0D6GtfBzyHRvQKKMX2qWkD =PfKN -----END PGP SIGNATURE----- --------------enig9C49A3427F398500F0523F0E--