]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix reporting of errors for p2p migration
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 19 Jul 2011 14:51:08 +0000 (10:51 -0400)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 19 Jul 2011 15:20:34 +0000 (11:20 -0400)
commit789fc4ae9071959922c2f98414dceec2a6b1fa9a
tree652e8c884451841ce0e35dc52d7ceef4ae8ff3c0
parente06c8ede42fcdc4e29b58e49a4b3f93b2a2c5740
Fix reporting of errors for p2p migration

Starting/ending jobs when closing the connection may reset any
error which was reported earlier in p2p migration. We must
save the original error before doing so. This means we can also
just call virConnectClose as normal, instead of virUnrefConnect

* src/qemu/qemu_migration.c: Preserve errors in p2p migration
src/qemu/qemu_migration.c