[libvirt] [PATCH 4/4 v2] util: fix removal of callbacks in virCloseCallbacksRun
Ján Tomko
jtomko at redhat.com
Wed Apr 8 08:16:38 UTC 2015
On Wed, Apr 08, 2015 at 01:22:39PM +1000, Michael Chapman wrote:
> The close callbacks hash are keyed by a UUID-string, but
> virCloseCallbacksRun was attempting to remove them by raw UUID. This
> patch ensures the callback entries are removed by UUID-string as well.
>
> This bug caused problems when guest migrations were abnormally aborted:
>
> # timeout --signal KILL 1 \
> virsh migrate example qemu+tls://remote/system \
> --verbose --compressed --live --auto-converge \
> --abort-on-error --unsafe --persistent \
> --undefinesource --copy-storage-all --xml example.xml
> Killed
>
> # virsh migrate example qemu+tls://remote/system \
> --verbose --compressed --live --auto-converge \
> --abort-on-error --unsafe --persistent \
> --undefinesource --copy-storage-all --xml example.xml
> error: Requested operation is not valid: domain 'example' is not being migrated
>
> Signed-off-by: Michael Chapman <mike at very.puzzling.org>
> ---
> src/util/virclosecallbacks.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
ACK
I have pushed the series
Jan.
-------------- 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/20150408/6ff0d448/attachment-0001.sig>
More information about the libvir-list
mailing list