[libvirt PATCH v2 15/81] qemu: Restore async job start timestamp on reconnect

Peter Krempa pkrempa at redhat.com
Mon Jun 6 12:37:44 UTC 2022


On Wed, Jun 01, 2022 at 14:49:15 +0200, Jiri Denemark wrote:
> Jobs that are supposed to remain active even when libvirt daemon
> restarts were reported as started at the time the daemon was restarted.
> This is not very helpful, we should restore the original timestamp.
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
> 
> Notes:
>     Version 2:
>     - use current time as a fallback
> 
>  src/qemu/qemu_domainjob.c                     | 21 ++++++++++++++-----
>  src/qemu/qemu_domainjob.h                     |  1 +
>  src/qemu/qemu_process.c                       |  4 +++-
>  .../migration-in-params-in.xml                |  2 +-
>  .../migration-out-nbd-bitmaps-in.xml          |  2 +-
>  .../migration-out-nbd-out.xml                 |  2 +-
>  .../migration-out-nbd-tls-out.xml             |  2 +-
>  .../migration-out-params-in.xml               |  2 +-
>  8 files changed, 25 insertions(+), 11 deletions(-)

Reviewed-by: Peter Krempa <pkrempa at redhat.com>


More information about the libvir-list mailing list