[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] wallclock time for paravirtualized guests

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@xxxxxxxxxxxx> 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.

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.