[libvirt] [PATCHv4 0/3] Xen: Fix <clock> handling

Philipp Hahn hahn at univention.de
Tue Feb 28 12:42:05 UTC 2012


Hello,

On Tuesday 14 February 2012 19:07:21 Philipp Hahn wrote:
> Before version 3.1 xen only implemented clock/@offset='utc' and
> 'localtime'. With the introduction of managed domains in 3.1 xend keeps
> track of the rtc_timeoffset, even over reboots. This translates to
>  libvirts
> clock/@offset='variable' variant. Be advised that only HV domains have a
> RTC.
>
> In addition xen also supports a variant where the offset is tracked to
> 'localtime', which is currently not supported by libvirt. To make matters
> worse, this was somehow broken in some versions of xen and was finally
> fixed with version xen-3.4.
>
> The following patch set ...
> * adds support for handling variable offsets relative to localtime,
> * fixes libvirt to use clock/@offset='variable' for newer xen versions,
> * adapts the test suit accordingly
>
> I've tested this on CenOS5 (xend-3.0.3 + 3.1.2 hypervisor?), UCS-2.3
> (xen-3.2.1), UCS-2.4 (xen-3.4.3) and UCS-3.0 (xen-4.1.2).

Ping?

> Since v1:
> + fix handling of direct-PV-domains
> + added handling of localtime=1 + rtc_timeoffset
> + fixed test suite
>
> Since v2: (on feedback by Eric)
> + add the adjustment='reset' attribute to force the old behaviour
> + handle adjustment='$timeDelta' as a short-cut for the conversion to
> variable. + simplify error path handling
> + update version numbers to 0.9.11
>
> Since v3:
> + Add missing offset=VARIALE for adjustment='$timeDelta' conversion.
>
> Philipp Hahn (3):
>   Support clock=variable relative to localtime
>   Xen: Fix <clock> handling
>   Xen: Adapt <clock> tests

@Eric: If I understood your proposal right, v4 should implement your 
transition path for xen. In our local tests it worked okay.

Sincerely
Philipp
-- 
Philipp Hahn           Open Source Software Engineer      hahn at univention.de
Univention GmbH        Linux for Your Business        fon: +49 421 22 232- 0
Mary-Somerville-Str.1  D-28359 Bremen                 fax: +49 421 22 232-99
                                                   http://www.univention.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120228/1850d5c2/attachment-0001.sig>


More information about the libvir-list mailing list