]> git.proxmox.com Git - qemu.git/commit
migration: propagate error correctly
authorJuan Quintela <quintela@redhat.com>
Wed, 23 Feb 2011 18:56:52 +0000 (19:56 +0100)
committerJuan Quintela <quintela@redhat.com>
Thu, 20 Oct 2011 11:23:54 +0000 (13:23 +0200)
commit8414ff3bd8bfafbcb632c670f4d81c8e4f15e703
tree193b7ec16125456715929dac6c16cb5e8493d3c6
parentefab4718f4203132244758fbc76b8b0676b9d85d
migration: propagate error correctly

unix and tcp outgoing migration have error values, but didn't returned
it.  Make them return the error.  Notice that EINPROGRESS & EWOULDBLOCK
are not considered errors as call will be retry later.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
migration-tcp.c
migration-unix.c