|
From: | Juan Quintela |
Subject: | Re: [Qemu-devel] [PATCH] migration: Guard ram_bytes_remaining against early call |
Date: | Wed, 27 Dec 2017 23:14:43 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
"Dr. David Alan Gilbert (git)" <address@hidden> wrote: > From: "Dr. David Alan Gilbert" <address@hidden> > > Calling ram_bytes_remaining during the early part of setup is unsafe > because the ram_state isn't yet initialised. > > This can happen in the sequence: > migrate > migrate_cancel > info migrate > > if the migrate sticks trying to connect (e.g. to an unresponsive > destination due to the connect timeout). Here 'info migrate' sees > a state of CANCELLING and so assumes the migrate has partially happened. > > partial fix for: > RH bz: https://bugzilla.redhat.com/show_bug.cgi?id=1525899 > Reported-by: Xianxian Wang <address@hidden> > Signed-off-by: Dr. David Alan Gilbert <address@hidden> Reviewed-by: Juan Quintela <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |