From 1a50eb53b2e18fee6e4081df44360ff4a9925240 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Thu, 9 Feb 2012 11:33:55 +0100 Subject: [PATCH] dom0/pm-utils: kill qvm-sync-clock before suspend (#443) To not desync time after resume. --- dom0/pm-utils/01qubes-sync-vms-clock | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dom0/pm-utils/01qubes-sync-vms-clock b/dom0/pm-utils/01qubes-sync-vms-clock index 6dd92cfb..8ffe5dff 100755 --- a/dom0/pm-utils/01qubes-sync-vms-clock +++ b/dom0/pm-utils/01qubes-sync-vms-clock @@ -15,5 +15,7 @@ sync_qubes_vms_wallclock() case "$1" in thaw|resume) sync_qubes_vms_wallclock ;; + # Kill qvm-sync-clock (if running) to not desync time after resume + suspend|hibernate) killall qvm-sync-clock 2> /dev/null ;; *) exit 0 ;; esac