Re: [PATCH v2 22/22] hypervisor: emit systemd status & log messages while saving

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 12, 2025 at 17:18:02 +0000, Daniel P. Berrangé wrote:
> Since processing running VMs on OS shutdown can take a while, it is
> beneficial to send systemd status messages about the progress.
> 
> The systemd status is a point-in-time message, with no ability to
> look at the history of received messages. So in the systemd status
> we include the progress information. For the same reason there is
> no benefit in sending failure messages, as they'll disappear as soon
> as a status is sent for the subsequent VM to be processed.
> 
> The libvirt log statements can be viewed as a complete log record
> so don't need progress info, but do include warnings about failures
> (present from earlier commits).
> 
> Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
> ---
>  src/hypervisor/domain_driver.c | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux