WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] common time reference between domU and dom0

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] common time reference between domU and dom0
From: Keir Fraser <keir@xxxxxxx>
Date: Fri, 10 Dec 2010 10:00:38 +0000
Cc:
Delivery-date: Fri, 10 Dec 2010 02:02:20 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:user-agent:date :subject:from:to:message-id:thread-topic:thread-index:in-reply-to :mime-version:content-type:content-transfer-encoding; bh=atkgI4NTKZfw046uMA4VL0I6UTVm/P4RPsDIfrlJrOk=; b=j/ybJhkEsotPvSJ7HfmapUWSGe2lcSMEeqExTbuwjFiL+Su14Wuk7pnBlb2hsQLBdW fDmzbddM4EHffgua3VRkWNXWNUWcUS9V/TYSCJOeazRAdRT1KJt58wa5e9tLKQHMLnNF fBOguqPBUSSyyetKVDjwPpGOXzPLt/PvV0GLg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=FWGd6GjS7FlPlMpMgT2dAqncrdn33tPGJZrIc+az6Kh5MxYs4Z2flogKKYLmLwhPEX I/XuZjcbaeQYM4v2WSl4KAf5RZRZNxc+d+a0xdo5zg7vBB5yLDM/WObrZ8gVcUNyRXcp mDzkkujMBQYkzr/KxnGAsUOwS7Kq+qxSidrtE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D01BB897F@trantor>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcuYKlmfwlYiX5ejQNegrVc1bZJ6nwAEEnxiAAI5plAAA2OS5g==
Thread-topic: [Xen-devel] common time reference between domU and dom0
User-agent: Microsoft-Entourage/12.27.0.100910
On 10/12/2010 08:23, "James Harper" <james.harper@xxxxxxxxxxxxxxxx> wrote:

>> 
>> System time, as exposed to guests by Xen, should be good enough.
>> 
> 
> How is this exposed for HVM systems?

Given all HVM guest time sources are trapped to the hypervisor, including
TSC, you may as well just use the HVMOP_get_time hypercall.

 -- Keir

> James



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