]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
libvirt-guests: Initialize SYNC_TIME
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 11 May 2015 16:18:39 +0000 (18:18 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 12 May 2015 06:53:14 +0000 (08:53 +0200)
https://bugzilla.redhat.com/show_bug.cgi?id=1191227

Since 0fa15b19 we have this variable SYNC_TIME which allows users to
synchronize time on domain resume. However, despite what documentation
says, it's by default on because it's never initialized. Fix this by
setting it to zero at the beginning of the libvirt-guests script.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
tools/libvirt-guests.sh.in

index 9aa06fa2b3da25c724b86e94256c416a13a34e13..7f74b85c19d732157b49950ac6ec33aaea52b026 100644 (file)
@@ -39,6 +39,7 @@ START_DELAY=0
 BYPASS_CACHE=0
 CONNECT_RETRIES=10
 RETRIES_SLEEP=1
+SYNC_TIME=0
 
 test -f "$sysconfdir"/sysconfig/libvirt-guests &&
     . "$sysconfdir"/sysconfig/libvirt-guests