Re: [PATCH v8 1/4] Allow vu_message_read to be replaced

2020-06-11 Thread Marc-André Lureau
On Fri, Jun 5, 2020 at 3:36 AM Coiby Xu wrote: > Allow vu_message_read to be replaced by one which will make use of the > QIOChannel functions. Thus reading vhost-user message won't stall the > guest. > > Signed-off-by: Coiby Xu > Reviewed-by: Marc-André Lureau --- > contrib/libvhost-user/li

Re: [PATCH v8 1/4] Allow vu_message_read to be replaced

2020-06-11 Thread Stefan Hajnoczi
On Fri, Jun 05, 2020 at 07:35:35AM +0800, Coiby Xu wrote: > Allow vu_message_read to be replaced by one which will make use of the > QIOChannel functions. Thus reading vhost-user message won't stall the > guest. > > Signed-off-by: Coiby Xu > --- > contrib/libvhost-user/libvhost-user-glib.c | 2

[PATCH v8 1/4] Allow vu_message_read to be replaced

2020-06-04 Thread Coiby Xu
Allow vu_message_read to be replaced by one which will make use of the QIOChannel functions. Thus reading vhost-user message won't stall the guest. Signed-off-by: Coiby Xu --- contrib/libvhost-user/libvhost-user-glib.c | 2 +- contrib/libvhost-user/libvhost-user.c | 11 ++- contrib