[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Emulating RDTSC


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Diwaker Gupta" <diwaker.lists@xxxxxxxxx>
  • Date: Thu, 26 Oct 2006 13:41:33 -0700
  • Delivery-date: Thu, 26 Oct 2006 13:41:52 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=NIMoKdj4EU7byU+H+atEAvfo3j/YDcwA07md/pl9vS4fRHOgxf8QMJVfuNpE0hawLf+FrgheMawUIm+hXZoAG5/8VynYxhIPAI3vL6WF/7P+jnsYaQf6Z6PBQhN2BDwiGE9wcghEqk2w/n7tVazFgyZqPTcyr8HcV7CaLynwfsw=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi all,

Is it possible to modify Xen such that guests incur a fault when they
try to execute RDTSC and control is then passed to the hypervisor
which can then return whatever it wants to?

I'm starting with x86 PV guests, but using HVM guests is certainly an
option if that hardware makes it easier to achieve this. I'm thinking
that setting CR4.TSD in the guest control registers should be the
first step? Any comments or suggestions much appreciated.

Thanks,
Diwaker
--
Web/Blog/Gallery: http://floatingsun.net/blog

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.