[Bug 1902470] Re: migration with TLS-MultiFD is stuck when the dst-libvirtd service restarts

2020-11-12 Thread Chuan Zheng
this bug is fixed by commit(a1af605bd5ade1a6dd571f553a6746b97f3d6869), close the issue as fixed ** Changed in: qemu Status: In Progress => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net

[Bug 1902470] Re: migration with TLS-MultiFD is stuck when the dst-libvirtd service restarts

2020-11-09 Thread Chuan Zheng
this commit is sent and may fix this issue, waiting for review. https://www.mail-archive.com/qemu-devel@nongnu.org/msg758017.html -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1902470 Title: migrat

[Bug 1902470] Re: migration with TLS-MultiFD is stuck when the dst-libvirtd service restarts

2020-11-08 Thread Chuan Zheng
** Changed in: qemu Status: Confirmed => In Progress -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1902470 Title: migration with TLS-MultiFD is stuck when the dst-libvirtd service restarts

[Bug 1902470] Re: migration with TLS-MultiFD is stuck when the dst-libvirtd service restarts

2020-11-05 Thread Chuan Zheng
** Changed in: qemu Status: New => Confirmed -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1902470 Title: migration with TLS-MultiFD is stuck when the dst-libvirtd service restarts Status

Re: [Bug 1902470] Re: migration with TLS-MultiFD is stuck when the dst-libvirtd service restarts

2020-11-03 Thread Zheng Chuan
gt; cleanup issue, and i will dig it out more further... > > >>> -----Original Message----- >>> From: Qemu-devel >>> [mailto:qemu-devel-bounces+zhengchuan=huawei@nongnu.org] On Behalf Of >>> Yan Jin >>> Sent: 2020年11月2日 11:12 >>> To

Re: [Bug 1902470] Re: migration with TLS-MultiFD is stuck when the dst-libvirtd service restarts

2020-11-03 Thread Zheng Chuan
On 2020/11/3 17:29, Daniel Berrange wrote: > This looks to me like a significant implementation flaw in the QEMU > code. Both src and dst QEMU appear to be running code from the main > event loop, and they appear to be doing blocking I/O operations. This is > very bad as we should never have any

[Bug 1902470] Re: migration with TLS-MultiFD is stuck when the dst-libvirtd service restarts

2020-11-03 Thread Daniel Berrange
This looks to me like a significant implementation flaw in the QEMU code. Both src and dst QEMU appear to be running code from the main event loop, and they appear to be doing blocking I/O operations. This is very bad as we should never have anything running in the main event loop thread that is ab

Re: [Bug 1902470] Re: migration with TLS-MultiFD is stuck when the dst-libvirtd service restarts

2020-11-02 Thread Zheng Chuan
ailto:qemu-devel-bounces+zhengchuan=huawei....@nongnu.org] On Behalf Of >> Yan Jin >> Sent: 2020年11月2日 11:12 >> To: qemu-devel@nongnu.org >> Subject: [Bug 1902470] Re: migration with TLS-MultiFD is stuck when the >> dst-libvirtd service restarts >> >> *

Re: [Bug 1902470] Re: migration with TLS-MultiFD is stuck when the dst-libvirtd service restarts

2020-11-02 Thread Dr. David Alan Gilbert
se. Dave > -Original Message- > From: Qemu-devel [mailto:qemu-devel-bounces+zhengchuan=huawei@nongnu.org] > On Behalf Of Yan Jin > Sent: 2020年11月2日 11:12 > To: qemu-devel@nongnu.org > Subject: [Bug 1902470] Re: migration with TLS-MultiFD is stuck when the > dst-libvir

RE: [Bug 1902470] Re: migration with TLS-MultiFD is stuck when the dst-libvirtd service restarts

2020-11-02 Thread zhengchuan
, but I could find out how for now. -Original Message- From: Qemu-devel [mailto:qemu-devel-bounces+zhengchuan=huawei@nongnu.org] On Behalf Of Yan Jin Sent: 2020年11月2日 11:12 To: qemu-devel@nongnu.org Subject: [Bug 1902470] Re: migration with TLS-MultiFD is stuck when the dst-libvirtd

[Bug 1902470] Re: migration with TLS-MultiFD is stuck when the dst-libvirtd service restarts

2020-11-01 Thread Yan Jin
** Description changed: hi, I found that the multi-channel TLS-handshake will be stuck when the dst- libvirtd restarts, both the src and dst sockets are blocked in recvmsg. In the meantime, live_migration thread is blocked in multifd_send_sync_main, so migration cannot be cancelled th

[Bug 1902470] Re: migration with TLS-MultiFD is stuck when the dst-libvirtd service restarts

2020-11-01 Thread Yan Jin
** Description changed: hi, - I found that the multi-channel TLS-handshake will be stuck when the dst-libvirtd restarts, both the src and dst sockets are blocked in recvmsg. In the meantime, live_migration thread is blocked in multifd_send_sync_main, so - migration cannot be cancelled thoug