]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Fix crash in offline migration
authorJiri Denemark <jdenemar@redhat.com>
Fri, 19 Jan 2018 09:32:44 +0000 (10:32 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 19 Jan 2018 09:51:19 +0000 (10:51 +0100)
commitbcc5710708ec90146b71bdb00d8705cb4a9e0088
treebfc4dd592da2831dd2be2ffdd93db2ffcccc2e2f
parent6d4a3cd42781babed7d29b061e220ebff24dd43e
qemu: Fix crash in offline migration

When migrating a shutoff domain (i.e., offline migration), we have no
statistics to report and thus jobInfo will be NULL in
qemuMigrationFinish.

Broken by me in v3.10.0-183-ge8784e7868.

https://bugzilla.redhat.com/show_bug.cgi?id=1536351

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_migration.c