* Where is xtime updated in a domU with an independent wallclock?
@ 2007-04-28 7:23 Jay A. Patel
0 siblings, 0 replies; 7+ messages in thread
From: Jay A. Patel @ 2007-04-28 7:23 UTC (permalink / raw)
To: xen-devel
Hi All,
I have just started looking at the code for Xen so please bear with me.
A domU Linux kernel running with independent_wallclock=1 seems to sync
its time with dom0 after every "xm unpause" (obviously preceded by an
"xm pause").
I don't see where the xtime variable is being updated after an "xm
unpause", i.e., domain_unpause_by_systemcontroller(). Right after the
unpause, it seems to me that the xtime in the domU should be what it
were just prior to the pause.
Any response would be greatly appreciated.
Cheers,
Jay.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Where is xtime updated in a domU with an independent wallclock?
@ 2007-04-28 7:54 Jay A. Patel
0 siblings, 0 replies; 7+ messages in thread
From: Jay A. Patel @ 2007-04-28 7:54 UTC (permalink / raw)
To: xen-devel
Hi All,
I have just started looking at the code for Xen so please bear with me.
A domU Linux kernel running with independent_wallclock=1 seems to sync
its time with dom0 after every "xm unpause" (obviously preceded by an
"xm pause").
I don't see where the xtime variable is being updated after an "xm
unpause", i.e., domain_unpause_by_systemcontroller(). Right after the
unpause, it seems to me that the xtime in the domU should be what it
were just prior to the pause.
Any response would be greatly appreciated.
Cheers,
Jay.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Where is xtime updated in a domU with an independent wallclock?
@ 2007-04-30 21:46 Jay A. Patel
0 siblings, 0 replies; 7+ messages in thread
From: Jay A. Patel @ 2007-04-30 21:46 UTC (permalink / raw)
To: xen-devel
Hi All,
I have just started looking at the code for Xen so please bear with me.
A domU Linux kernel running with independent_wallclock=1 seems to sync
its time with dom0 after every "xm unpause" (obviously preceded by an
"xm pause").
I don't see where the xtime variable is being updated after an "xm
unpause", i.e., domain_unpause_by_systemcontroller(). Right after the
unpause, it seems to me that the xtime in the domU should be what it
were just prior to the pause.
Any response would be greatly appreciated.
Cheers,
Jay.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Where is xtime updated in a domU with an independent wallclock?
@ 2007-05-01 8:31 Jay A Patel
0 siblings, 0 replies; 7+ messages in thread
From: Jay A Patel @ 2007-05-01 8:31 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 552 bytes --]
Hi All,
I have just started looking at the code for Xen so please bear with me.
A domU Linux kernel running with independent_wallclock=1 seems to sync
its time with dom0 after every "xm unpause" (obviously preceded by an
"xm pause").
I don't see where the xtime variable is being updated after an "xm
unpause", i.e., domain_unpause_by_systemcontroller(). Right after the
unpause, it seems to me that the xtime in the domU should be what it
were just prior to the pause.
Any response would be greatly appreciated.
Cheers,
Jay.
[-- Attachment #1.2: Type: text/html, Size: 888 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Where is xtime updated in a domU with an independent wallclock?
@ 2007-05-02 6:41 Jay Patel
2007-05-02 7:16 ` Keir Fraser
0 siblings, 1 reply; 7+ messages in thread
From: Jay Patel @ 2007-05-02 6:41 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 672 bytes --]
Hi All,
I have just started looking at the code for Xen so please bear with me.
A domU Linux kernel running with independent_wallclock=1 seems to sync its time with dom0 after every "xm unpause" (obviously preceded by an "xm pause").
I don't see where the xtime variable is being updated after an "xm unpause", i.e., domain_unpause_by_systemcontroller(). Right after the unpause, it seems to me that the xtime in the domU should be what it were just prior to the pause.
Any response would be greatly appreciated.
Cheers,
Jay.
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.
[-- Attachment #1.2: Type: text/html, Size: 959 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: Where is xtime updated in a domU with an independent wallclock?
2007-05-02 6:41 Jay Patel
@ 2007-05-02 7:16 ` Keir Fraser
2007-05-02 19:22 ` Jay Patel
0 siblings, 1 reply; 7+ messages in thread
From: Keir Fraser @ 2007-05-02 7:16 UTC (permalink / raw)
To: Jay Patel, xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 749 bytes --]
On 2/5/07 07:41, "Jay Patel" <nitrofin@yahoo.com> wrote:
> I have just started looking at the code for Xen so please bear with me.
>
> A domU Linux kernel running with independent_wallclock=1 seems to sync its
> time with dom0 after every "xm unpause" (obviously preceded by an "xm
> pause").
>
> I don't see where the xtime variable is being updated after an "xm unpause",
> i.e., domain_unpause_by_systemcontroller(). Right after the unpause, it seems
> to me that the xtime in the domU should be what it were just prior to the
> pause.
Yes, a guest with independent wallclock should never sync with the wallclock
time record provided by Xen, even after an unpause (the unpause is not
explicitly visible to the guest anyway).
-- Keir
[-- Attachment #1.2: Type: text/html, Size: 1276 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Where is xtime updated in a domU with an independent wallclock?
2007-05-02 7:16 ` Keir Fraser
@ 2007-05-02 19:22 ` Jay Patel
0 siblings, 0 replies; 7+ messages in thread
From: Jay Patel @ 2007-05-02 19:22 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 1147 bytes --]
Keir Fraser <Keir.Fraser@cl.cam.ac.uk> wrote:Re: [Xen-devel] Where is xtime updated in a domU with an independent wallclock?
On 2/5/07 07:41, "Jay Patel" <nitrofin@yahoo.com> wrote:
I have just started looking at the code for Xen so please bear with me.
A domU Linux kernel running with independent_wallclock=1 seems to sync its time with dom0 after every "xm unpause" (obviously preceded by an "xm pause").
I don't see where the xtime variable is being updated after an "xm unpause", i.e., domain_unpause_by_systemcontroller(). Right after the unpause, it seems to me that the xtime in the domU should be what it were just prior to the pause.
Yes, a guest with independent wallclock should never sync with the wallclock time record provided by Xen, even after an unpause (the unpause is not explicitly visible to the guest anyway).
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.
[-- Attachment #1.2: Type: text/html, Size: 1805 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-05-02 19:22 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-28 7:23 Where is xtime updated in a domU with an independent wallclock? Jay A. Patel
-- strict thread matches above, loose matches on Subject: below --
2007-04-28 7:54 Jay A. Patel
2007-04-30 21:46 Jay A. Patel
2007-05-01 8:31 Jay A Patel
2007-05-02 6:41 Jay Patel
2007-05-02 7:16 ` Keir Fraser
2007-05-02 19:22 ` Jay Patel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.