Re: [libvirt PATCH 70/80] qemu: Create completed jobData in qemuMigrationSrcComplete

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

 



On Tue, May 10, 2022 at 17:21:31 +0200, Jiri Denemark wrote:
> Normally the structure is created once the source reports completed
> migration, but with post-copy migration we can get here even after
> libvirt daemon was restarted. It doesn't make sense to preserve the
> structure in our status XML as we're going to rewrite almost all of it
> while refreshing the stats anyway. So we just create the structure here
> if it doesn't exist to make sure we can properly report statistics of a
> completed migration.
> 
> Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
> ---
>  src/qemu/qemu_migration.c | 30 +++++++++++++++++-------------

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