Re: [Qemu-devel] [PATCH] vhost_net: init acked_features to backend_features

2014-09-03 Thread Andrey Korolyov
On Wed, Sep 3, 2014 at 1:16 PM, Jason Wang wrote: > On 09/03/2014 04:57 PM, Michael S. Tsirkin wrote: >> commit 2e6d46d77ed328d34a94688da8371bcbe243479b (vhost: add >> vhost_get_features and vhost_ack_features) removes the step that >> initializes the acked_features to backend_features. >> >> As t

Re: [Qemu-devel] [PATCH] vhost_net: init acked_features to backend_features

2014-09-03 Thread Jason Wang
On 09/03/2014 04:57 PM, Michael S. Tsirkin wrote: > commit 2e6d46d77ed328d34a94688da8371bcbe243479b (vhost: add > vhost_get_features and vhost_ack_features) removes the step that > initializes the acked_features to backend_features. > > As this field is now uninitialized, vhost initialization will

[Qemu-devel] [PATCH] vhost_net: init acked_features to backend_features

2014-09-03 Thread Michael S. Tsirkin
commit 2e6d46d77ed328d34a94688da8371bcbe243479b (vhost: add vhost_get_features and vhost_ack_features) removes the step that initializes the acked_features to backend_features. As this field is now uninitialized, vhost initialization will sometimes fail. To fix, initialize field in core vhost cod