• F
    migration: fix the multifd code when receiving less channels · 49ed0d24
    Fei Li 提交于
    In our current code, when multifd is used during migration, if there
    is an error before the destination receives all new channels, the
    source keeps running, however the destination does not exit but keeps
    waiting until the source is killed deliberately.
    
    Fix this by dumping the specific error and let users decide whether
    to quit from the destination side when failing to receive packet via
    some channel. And update the comment for multifd_recv_new_channel().
    
    Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
    Cc: Peter Xu <peterx@redhat.com>
    Cc: Markus Armbruster <armbru@redhat.com>
    Signed-off-by: NFei Li <fli@suse.com>
    Reviewed-by: NPeter Xu <peterx@redhat.com>
    Message-Id: <20190113140849.38339-3-lifei1214@126.com>
    Signed-off-by: NDr. David Alan Gilbert <dgilbert@redhat.com>
    49ed0d24
ram.c 126.3 KB