[libvirt] [PATCH] output status information during guest shutdown again

Gerd v. Egidy lists at egidy.de
Mon Aug 13 11:56:25 UTC 2012


Hi,

On Friday 03 August 2012 16:52:15 Gerd v. Egidy wrote:
> With SysV-init libvirt-guests wrote status information to the console
> during shutdown of the guests.
> 
> 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.

It would be nice if anybody could look at the patch I sent and comment or 
commit. Thanks.

Kind regards,

Gerd




More information about the libvir-list mailing list