Re: [PATCH v4 2/5] generic vhost user server

2020-02-27 Thread Coiby Xu
> > +static coroutine_fn void vu_client_next_trip(VuClient *client); > > + > > +static coroutine_fn void vu_client_trip(void *opaque) > > +{ > > +VuClient *client = opaque; > > + > > +vu_dispatch(&client->parent); > > +client->co_trip = NULL; > > +if (!client->closed) { > > +

Re: [PATCH v4 2/5] generic vhost user server

2020-02-25 Thread Kevin Wolf
Am 18.02.2020 um 06:07 hat Coiby Xu geschrieben: > Sharing QEMU devices via vhost-user protocol > > Signed-off-by: Coiby Xu > --- > util/Makefile.objs | 3 + > util/vhost-user-server.c | 427 +++ > util/vhost-user-server.h | 56 + > 3 files change

[PATCH v4 2/5] generic vhost user server

2020-02-17 Thread Coiby Xu
Sharing QEMU devices via vhost-user protocol Signed-off-by: Coiby Xu --- util/Makefile.objs | 3 + util/vhost-user-server.c | 427 +++ util/vhost-user-server.h | 56 + 3 files changed, 486 insertions(+) create mode 100644 util/vhost-user-server.c