]> xenbits.xensource.com Git - libvirt.git/commit
output status information during guest shutdown again
authorGerd v. Egidy <lists@egidy.de>
Tue, 21 Aug 2012 15:03:40 +0000 (17:03 +0200)
committerEric Blake <eblake@redhat.com>
Tue, 21 Aug 2012 21:52:26 +0000 (15:52 -0600)
commitc18dc28b1ff29282ca1effc41c42f9c621fdadd1
treeb5a20dcd387e0366ebeffc47bd759a5e4ab87c85
parenta46af26004c9625b5fba0984377f4febfda99e30
output status information during guest shutdown again

Since the move to systemd libvirt-guests doesn't output this progress
information anymore. This patch brings back this feature.

It is helpful to show the admin what the system is waiting for and what
is left of the timeout (e.g. for calibrating the shutdown timing of a ups).

Rewriting the current line with \r doesn't work anymore in the context
of systemd. So always write new lines, but move to 5 second intervals
to avoid flooding the console.
tools/libvirt-guests.init.sh
tools/libvirt-guests.service.in