]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: Don't report false errors in migration protocol v2
authorJiri Denemark <jdenemar@redhat.com>
Tue, 7 Jul 2015 13:29:10 +0000 (15:29 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 18 Sep 2015 11:50:03 +0000 (13:50 +0200)
commit5f7ad327783a727aacdc29b60fe934efb2039310
tree5639f2f129d7f171de8119eb5bb712682c7da3d5
parentcc40c28410300f5e2a389628e1f71fa86207fb49
qemu: Don't report false errors in migration protocol v2

Finish is the final state in v2 of our migration protocol. If something
fails, we have no option to abort the migration and resume the original
domain. Non fatal errors (such as failure to start guest CPUs or make
the domain persistent) has to be treated as success. Keeping the domain
running while reporting the failure was just asking for trouble.

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