Paolo Bonzini 5aca18a4ff ssh: support I/O from any AioContext
The coroutine may run in a different AioContext, causing the
fd handler to busy wait.  Fix this by resetting the handler
in restart_coroutine, before the coroutine is restarted.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20170629132749.997-12-pbonzini@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
2017-07-17 11:34:20 +08:00
..
2017-07-14 09:36:40 +01:00
2017-07-14 09:36:40 +01:00
2017-07-17 11:28:15 +08:00
2017-07-17 11:34:11 +08:00
2017-07-17 11:34:11 +08:00
2017-07-14 09:36:40 +01:00
2017-07-17 11:34:20 +08:00
2017-07-17 11:34:20 +08:00
2017-07-17 11:28:15 +08:00
2017-07-17 11:28:15 +08:00
2017-07-17 11:28:15 +08:00