From: Laine Stump Date: Wed, 31 Mar 2010 17:03:54 +0000 (-0400) Subject: Changes to clock timer XML to match final design. X-Git-Tag: v0.8.0~116 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ee2b31804f4d3477ee83bac28d9991afb0c3393;p=thirdparty%2Flibvirt.git Changes to clock timer XML to match final design. The clock timer XML is being updated in the following ways (based on further off-list discussion that was missed during the initial implementation): 1) 'wallclock' is changed to 'track', and the possible values are 'boot' (corresponds to old 'host'), 'guest', and 'wall'. 2) 'mode' has an additional value 'smpsafe' 3) when tickpolicy='catchup', there can be an optional sub-element of timer called 'catchup': Those three values are all longs, always optional, and if they are present, they are positive. Internally, 0 indicates "unspecified". * docs/schemas/domain.rng: updated RNG definition to account for changes * src/conf/domain_conf.h: change the C struct and enums to match changes. * src/conf/domain_conf.c: timer parse and format functions changed to handle the new selections and new element. * src/libvirt_private.syms: *TimerWallclock* changes to *TimerTrack* * src/qemu/qemu_conf.c: again, account for Wallclock --> Track change. --- diff --git a/docs/schemas/domain.rng b/docs/schemas/domain.rng index d80430153d..228665c6a4 100644 --- a/docs/schemas/domain.rng +++ b/docs/schemas/domain.rng @@ -344,10 +344,11 @@ - + - host + boot guest + wall @@ -361,6 +362,9 @@ + + + @@ -373,6 +377,7 @@ native emulate paravirt + smpsafe @@ -387,6 +392,21 @@ + + + + + + + + + + + + + + +