]> git.proxmox.com Git - mirror_qemu.git/commit - migration/savevm.c
migration: savevm: fix error code with migration blockers
authorCole Robinson <crobinso@redhat.com>
Tue, 9 Apr 2019 23:19:57 +0000 (19:19 -0400)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Tue, 14 May 2019 16:33:35 +0000 (17:33 +0100)
commitaded9dfa74a83f8b235df1bd3a874e48e197c78e
tree9ae9b13239eb7718f79641e91d94ebf3607c0c6f
parentf2dd7eddf240fe77ab08ffb251f1abca79f9463a
migration: savevm: fix error code with migration blockers

The only caller that checks the error code is looking for != 0,
so returning false is incorrect.

Fixes: 5aaac467938 "migration: savevm: consult migration blockers"
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Message-Id: <b991a4d0e6c4253bc08b2794c6084be55fc72e1d.1554851834.git.crobinso@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/savevm.c