]> git.ipfire.org Git - thirdparty/libvirt.git/commit
maint: clean up error reporting in migration
authorEric Blake <eblake@redhat.com>
Sat, 28 Dec 2013 13:40:10 +0000 (06:40 -0700)
committerEric Blake <eblake@redhat.com>
Thu, 16 Jan 2014 19:28:17 +0000 (12:28 -0700)
commit27553573f207b6fe2da569a14f5ef87745f432f1
tree27beca39597196f601d72d5682278655d5f56bc1
parentc8ed177af473016a35130e6ac154cdab0b6c8501
maint: clean up error reporting in migration

The choice of error message and category was not consistent
in the migration code; furthermore, the use of virLibConnError
is no longer necessary now that we have a generic virReportError.

* src/qemu/qemu_migration.c (virDomainMigrate*): Prefer
virReportError over virLibConnError.

Signed-off-by: Eric Blake <eblake@redhat.com>
src/libvirt.c