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-users

[Xen-users] domu's time is frozen after change dom0's time backward

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] domu's time is frozen after change dom0's time backward
From: "Hongming Xiao" <xiaohm@xxxxxxxxx>
Date: Thu, 25 Sep 2008 18:13:00 -0400
Delivery-date: Thu, 25 Sep 2008 15:13:49 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=LELOooFFx/9FxKXhgJf82oOMD7m1oAEqCgwQG2AYqbk=; b=tWKs8JWy6D/RaLS1kaOmsmwJV4Je85uOdSpHQtMrXYGS0ONYl4SjK9na5KshPzuoKQ HxFiWTLKdr8W+ZE3jB7WfquERdCcrH6aLqRiK0azbA7ySHqdxPNQP//wPaYBkgh0l1uj IyuziYzWwRu36eHN6Jly7nwgXANNdx46pAiDE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=nybLnwYMusasMpHn38FzPUXfxj46iafrHatT7/uGJdyV+SgAdRx0p8pNg6OtcJy7IH TGJGJJoBkp7wLe0hKtqY8EzJLp4rrbyFLgMQZwgGZIv045Gu5fpAu+2zPQr4v+xoc82T lGVDAVH01OiVY0zYJATetKsT4e6a8IC8w9oP8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
All,

Hope this is the right list to post my question.

I noticed that once I changed dom0's time backward, domU's time will
be frozen. Here is the step to reproduce the problem.

a) sync domU's time with dom0 by running following command in domU

# echo 0 > /proc/sys/xen/independent_wallclock

b) Verify domU's time is synced to dom0's

In dom0:
# date
Thu Sep 25 12:10:03 EDT 2008

In domU:
# date
Thu Sep 25 12:10:04 EDT 2008

c) Change dom0's time backward for 1 hour

In dom0:
# date 0925110000

In dom0:
# daten
Thu Sep 25 11:00:02 EDT 2008

d) Then, domU's time is frozen at the time we made change to dom0's time.

In domU:
# date
Thu Sep 25 12:11:00 EDT 2008
# date
Thu Sep 25 12:11:00 EDT 2008
# date
Thu Sep 25 12:11:00 EDT 2008
....

domU's time can be unfrozen by making domU's time older than dom0's,
no matter by changing dom0 or domU's time.

In domU: (change domU's time backward)
# date 0925100000

In domU:
# date
Thu Sep 25 11:01:00 EDT 2008


Question:

Appearently, Xen will stop syncing domU's time if dom0's time is older
than domU's.  Is it possible to configure Xen to let it sync domU's
time to dom0's (not matter what dom0's time is)?

Thanks in advance,
Bill Wei

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

<Prev in Thread] Current Thread [Next in Thread>