Yury Kotov <[email protected]> wrote: > Usually, incoming migration coroutine yields to the main loop > while its IO-channel is waiting for data to receive. But there is a case > when RAM migration and data receive have the same speed: VM with huge > zeroed RAM. In this case, IO-channel won't read and thus the main loop > is stuck and for instance, it doesn't respond to QMP commands. > > For this case, yield periodically, but not too often, so as not to > affect the speed of migration. > > Signed-off-by: Yury Kotov <[email protected]>
Reviewed-by: Juan Quintela <[email protected]>
