* wallclock time for paravirtualized guests
[not found] ` <44282079.092E.0048.1@novell.com>
@ 2006-03-28 15:17 ` Bruce Rogers
0 siblings, 0 replies; 5+ messages in thread
From: Bruce Rogers @ 2006-03-28 15:17 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 811 bytes --]
The paravirtualized guests are offered wallclock time referenced to UTC
only, while fully virtualized guests are given the option via the config
file (localtime parameter) of starting with UTC time or local time.
What would it take to optionally provide localtime to the
paravirtualized guests as well?
For a guest that launches assuming localtime as its time basis, then
later deriving UTC from it based on configuration files, this is
problematic, requiring some convolutions to how it handles time as it
boots.
Is there some place where we can insert a localtime offset into the
start-of-day structure, or perhaps change the sharedinfo wallclock time
to be either localtime or utc, depending on a localtime parameter in the
config file, similar to what is done for fully virtualized guests?
- Bruce Rogers
[-- Attachment #1.2: HTML --]
[-- Type: text/html, Size: 1104 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] 5+ messages in thread
* RE: wallclock time for paravirtualized guests
@ 2006-03-28 3:40 Ian Pratt
2006-03-28 15:28 ` Bruce Rogers
0 siblings, 1 reply; 5+ messages in thread
From: Ian Pratt @ 2006-03-28 3:40 UTC (permalink / raw)
To: Bruce Rogers, xen-devel
> The paravirtualized guests are offered wallclock time
> referenced to UTC only, while fully virtualized guests are
> given the option via the config file (localtime parameter) of
> starting with UTC time or local time.
> What would it take to optionally provide localtime to the
> paravirtualized guests as well?
> For a guest that launches assuming localtime as its time
> basis, then later deriving UTC from it based on configuration
> files, this is problematic, requiring some convolutions to
> how it handles time as it boots.
> Is there some place where we can insert a localtime offset
> into the start-of-day structure, or perhaps change the
> sharedinfo wallclock time to be either localtime or utc,
> depending on a localtime parameter in the config file,
> similar to what is done for fully virtualized guests?
I guess it might be useful to be able to configure a 'wallclock offset
in seconds' for a domain. It would need to be implemented in Xen and set
via a dom0 op.
Ian
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: wallclock time for paravirtualized guests
2006-03-28 3:40 Ian Pratt
@ 2006-03-28 15:28 ` Bruce Rogers
2006-03-28 15:33 ` Keir Fraser
0 siblings, 1 reply; 5+ messages in thread
From: Bruce Rogers @ 2006-03-28 15:28 UTC (permalink / raw)
To: Ian Pratt, xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 1376 bytes --]
I'll see about putting together a patch then.
Is it OK to simply have wc_sec altered by an optional, per domain time
offset from UTC in seconds (hence binary no change to the interface), or
do you think there should be another field provided that is the offset,
leaving wc_sec unmodified?
- Bruce Rogers
>>> "Ian Pratt" <m+Ian.Pratt@cl.cam.ac.uk> 3/27/2006 8:40:16 pm >>>
> The paravirtualized guests are offered wallclock time
> referenced to UTC only, while fully virtualized guests are
> given the option via the config file (localtime parameter) of
> starting with UTC time or local time.
> What would it take to optionally provide localtime to the
> paravirtualized guests as well?
> For a guest that launches assuming localtime as its time
> basis, then later deriving UTC from it based on configuration
> files, this is problematic, requiring some convolutions to
> how it handles time as it boots.
> Is there some place where we can insert a localtime offset
> into the start-of-day structure, or perhaps change the
> sharedinfo wallclock time to be either localtime or utc,
> depending on a localtime parameter in the config file,
> similar to what is done for fully virtualized guests?
I guess it might be useful to be able to configure a 'wallclock offset
in seconds' for a domain. It would need to be implemented in Xen and
set
via a dom0 op.
Ian
[-- Attachment #1.2: HTML --]
[-- Type: text/html, Size: 1781 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] 5+ messages in thread
* Re: wallclock time for paravirtualized guests
2006-03-28 15:28 ` Bruce Rogers
@ 2006-03-28 15:33 ` Keir Fraser
0 siblings, 0 replies; 5+ messages in thread
From: Keir Fraser @ 2006-03-28 15:33 UTC (permalink / raw)
To: Bruce Rogers; +Cc: Ian Pratt, xen-devel
On 28 Mar 2006, at 16:28, Bruce Rogers wrote:
> I'll see about putting together a patch then.
> Is it OK to simply have wc_sec altered by an optional, per domain time
> offset from UTC in seconds (hence binary no change to the interface),
> or do you think there should be another field provided that is the
> offset, leaving wc_sec unmodified?
The former. No need to change the guest ABI.
-- Keir
^ permalink raw reply [flat|nested] 5+ messages in thread
* wallclock time for paravirtualized guests
@ 2006-03-28 2:44 Bruce Rogers
0 siblings, 0 replies; 5+ messages in thread
From: Bruce Rogers @ 2006-03-28 2:44 UTC (permalink / raw)
To: xen-devel
The paravirtualized guests are offered wallclock time referenced to UTC only, while fully virtualized guests are given the option via the config file (localtime parameter) of starting with UTC time or local time.
What would it take to optionally provide localtime to the paravirtualized guests as well?
For a guest that launches assuming localtime as its time basis, then later deriving UTC from it based on configuration files, this is problematic, requiring some convolutions to how it handles time as it boots.
Is there some place where we can insert a localtime offset into the start-of-day structure, or perhaps change the sharedinfo wallclock time to be either localtime or utc, depending on a localtime parameter in the config file, similar to what is done for fully virtualized guests?
- Bruce Rogers
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-03-28 15:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <4427F3EB.092E.0048.1@novell.com>
[not found] ` <44282079.092E.0048.1@novell.com>
2006-03-28 15:17 ` wallclock time for paravirtualized guests Bruce Rogers
2006-03-28 3:40 Ian Pratt
2006-03-28 15:28 ` Bruce Rogers
2006-03-28 15:33 ` Keir Fraser
-- strict thread matches above, loose matches on Subject: below --
2006-03-28 2:44 Bruce Rogers
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.