[libvirt] [PATCH v2 4/7] qemu: Fix a race when computing migration downtime

Peter Krempa pkrempa at redhat.com
Mon Mar 7 14:01:31 UTC 2016


On Tue, Mar 01, 2016 at 13:55:30 +0100, Jiri Denemark wrote:
> Computing a total downtime during a migration requires us to store a
> time stamp when guest CPUs get stopped. The value (and all other
> statistics) is then transferred to the destination to compute the
> downtime. Because the stopped time stamp is stored by a STOP event
> handler while the statistics which will be sent over to the destination
> are copied synchronously within qemuMigrationWaitForCompletion.
> 
> Depending on the timing of STOP and MIGRATION events, we may end up
> copying (and transferring) statistics without the stopped time stamp
> set. Let's make sure we always use the correct time stamp.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1282744
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---

ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160307/325f79b4/attachment-0001.sig>


More information about the libvir-list mailing list