Re: [PATCH] qemu_migration: Unregister close callback only if connection still exists

2021-07-21 Thread Jiri Denemark
On Tue, Jul 20, 2021 at 18:19:54 +0200, Michal Privoznik wrote: > When doing a peer-to-peer migration it may happen that the > connection to the destination disappears. If that happens, > there's no point in trying to unregister the close callback > because the connection is closed already. It

[PATCH] qemu_migration: Unregister close callback only if connection still exists

2021-07-20 Thread Michal Privoznik
When doing a peer-to-peer migration it may happen that the connection to the destination disappears. If that happens, there's no point in trying to unregister the close callback because the connection is closed already. It results only in polluting logs with this message: error :