Advertising

Oh, so it's possible that we start to recv pages even if the recv
channel has not yet been established...
Then would current code be problematic? Like in multifd_recv_page() we
have:
static void multifd_recv_page(uint8_t *address, uint16_t fd_num)
{
...
p = multifd_recv_state->params[fd_num];
qemu_sem_wait(&p->ready);
...
}
Here can p==NULL if channel is not ready yet?
(If so, I think a static array makes more sense...)
Thanks,
--
Peter Xu