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(a)redhat.com>
---
src/hypervisor/domain_driver.c | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
Reviewed-by: Peter Krempa <pkrempa(a)redhat.com>