Jay A. Patel
2007-Apr-28 07:23 UTC
[Xen-devel] Where is xtime updated in a domU with an independent wallclock?
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. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jay A. Patel
2007-Apr-28 07:54 UTC
[Xen-devel] Where is xtime updated in a domU with an independent wallclock?
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. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jay A. Patel
2007-Apr-30 21:46 UTC
[Xen-devel] Where is xtime updated in a domU with an independent wallclock?
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. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jay A Patel
2007-May-01 08:31 UTC
[Xen-devel] Where is xtime updated in a domU with an independent wallclock?
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. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jay Patel
2007-May-02 06:41 UTC
[Xen-devel] Where is xtime updated in a domU with an independent wallclock?
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. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2007-May-02 07:16 UTC
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
Jay Patel
2007-May-02 19:22 UTC
Re: [Xen-devel] Where is xtime updated in a domU with an independent wallclock?
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. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel