From: Dan Magenheimer Subject: RE: write_tsc in a PV domain? Date: Thu, 27 Aug 2009 06:00:58 -0700 (PDT) Message-ID: <5637cad0-4cd7-448e-8f72-23fb1b60d69a@default> References: <4A96464C.1040209@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=Windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4A96464C.1040209@redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Chris Lalancette Cc: Jeremy Fitzhardinge , "Xen-Devel (E-mail)" , Keir Fraser List-Id: xen-devel@lists.xenproject.org > Dan Magenheimer wrote: > > In that case, are you saying it is an illegal instruction for a PV > > guest to execute? If so, we should not ignore it, we should fail > > the guest. But that would be unfortunate for the RHEL5-64bit > > PV guests that actually DO use it. >=20 > Wait, what? Could you point out where this is in RHEL-5=20 > 64-bit PV? The only > case of write_tsc() I see in the code is in=20 > arch/i386/kernel/smpboot.c, which is > not used by the Xen PV implementation in RHEL-5. Where else in the PV > implementation does a write_tsc? Hi Chris -- I was surprised also, and digging deeper it looks like I was mistaken. I instrumented a hypervisor so that Xen would printk a console message if it was ignoring a wrmsr and was getting output when I launched a RHEL-5 PV guest. But I refined the printk and it is NOT wrmsr(0x10) so you're right, it is NOT a write_tsc. Thanks for pointing out my error. Dan