Message ID | 20210209104237.2250941-1-wanghao232@huawei.com |
---|---|
Headers | show |
Series | add error handling in multifd_tls_handshake_thread | expand |
* Hao Wang (wanghao232@huawei.com) wrote: > If any error happens during multifd send thread creating (e.g. channel broke > because new domain is destroyed by the dst), multifd_tls_handshake_thread > may exit silently, leaving main migration thread hanging (ram_save_setup -> > multifd_send_sync_main -> qemu_sem_wait(&p->sem_sync)). > Fix that by adding error handling in multifd_tls_handshake_thread. > > Hao Wang (2): > migration/tls: fix inverted semantics in multifd_channel_connect > migration/tls: add error handling in multifd_tls_handshake_thread > > migration/multifd.c | 21 +++++++++++++++------ > 1 file changed, 15 insertions(+), 6 deletions(-) Queued > > -- > 2.23.0 > >