
16 Apr
2018
16 Apr
'18
2:51 p.m.
On Wed, Apr 11, 2018 at 04:41:58PM +0200, Jiri Denemark wrote:
migrate_cancel QMP command cannot be used for cancelling memory-only dumps and priv->job.dump_memory_only is used for reporting an error if someone calls virDomainAbortJob when memory-only dump job is running.
Since commit 150930e3098 the dump_memory_only flag is set only dump-guest-memory command was called without the detach parameter. This
s/only/only if/
would incorrectly allow libvirt to send migrate_cancel while the detached memory-only dump is running.
Signed-off-by: Jiri Denemark <jdenemar@redhat.com> --- src/qemu/qemu_driver.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-)
Reviewed-by: Ján Tomko <jtomko@redhat.com> Jano