[Qemu-devel] [PATCH 07/10] vhost-net: save & restore vhost-user acked features

2016-06-06 Thread marcandre . lureau
From: Marc-André Lureau The initial vhost-user connection sets the features to be negotiated with the driver. Renegotiation isn't possible without device reset. To handle reconnection of vhost-user backend, ensure the same set of features are provided, and reuse already acked features. Signed-o

Re: [Qemu-devel] [PATCH 07/10] vhost-net: save & restore vhost-user acked features

2016-06-06 Thread Marc-André Lureau
Hi - Original Message - > > +uint64_t vhost_net_get_acked_features(VHostNetState *net) > > +{ > > +return net->dev.acked_features; > > +} > > Note that you need add a dummy implementation for !VHOST_NET. Otherwise, > build won't work. good catch, fixed. > And sorry for being noisy,

Re: [Qemu-devel] [PATCH 07/10] vhost-net: save & restore vhost-user acked features

2016-06-06 Thread Yuanhan Liu
On Tue, May 10, 2016 at 06:03:57PM +0200, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > The initial vhost-user connection sets the features to be negotiated > with the driver. Renegotiation isn't possible without device reset. > > To handle reconnection of vhost-user backend,

[Qemu-devel] [PATCH 07/10] vhost-net: save & restore vhost-user acked features

2016-05-10 Thread marcandre . lureau
From: Marc-André Lureau The initial vhost-user connection sets the features to be negotiated with the driver. Renegotiation isn't possible without device reset. To handle reconnection of vhost-user backend, ensure the same set of features are provided, and reuse already acked features. Signed-o