Home
last modified time | relevance | path

Searched hist:"2 e6d46d77ed328d34a94688da8371bcbe243479b" (Results 1 – 4 of 4) sorted by relevance

/qemu/hw/net/
H A Dvhost_net.cb49ae9138d5cadb47fb868297fbcdac8292fb666 Wed Sep 03 06:25:30 UTC 2014 Jason Wang <jasowang@redhat.com> vhost_net: init acked_features to backend_features

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 acked_features on each ack.

Tested-by: Andrey Korolyov <andrey@xdel.ru>
Cc: Nikolay Nikolaev <n.nikolaev@virtualopensystems.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2e6d46d77ed328d34a94688da8371bcbe243479b Tue May 27 12:04:42 UTC 2014 Nikolay Nikolaev <n.nikolaev@virtualopensystems.com> vhost: add vhost_get_features and vhost_ack_features

Generalize the features get/ack to be used for both vhost-net and vhost-scsi.
In vhost-net add vhost_net_get_feature_bits to select the feature bit set
depending on the NetClient kind.

Signed-off-by: Nikolay Nikolaev <n.nikolaev@virtualopensystems.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
/qemu/include/hw/virtio/
H A Dvhost.h2e6d46d77ed328d34a94688da8371bcbe243479b Tue May 27 12:04:42 UTC 2014 Nikolay Nikolaev <n.nikolaev@virtualopensystems.com> vhost: add vhost_get_features and vhost_ack_features

Generalize the features get/ack to be used for both vhost-net and vhost-scsi.
In vhost-net add vhost_net_get_feature_bits to select the feature bit set
depending on the NetClient kind.

Signed-off-by: Nikolay Nikolaev <n.nikolaev@virtualopensystems.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
/qemu/hw/scsi/
H A Dvhost-scsi.c2e6d46d77ed328d34a94688da8371bcbe243479b Tue May 27 12:04:42 UTC 2014 Nikolay Nikolaev <n.nikolaev@virtualopensystems.com> vhost: add vhost_get_features and vhost_ack_features

Generalize the features get/ack to be used for both vhost-net and vhost-scsi.
In vhost-net add vhost_net_get_feature_bits to select the feature bit set
depending on the NetClient kind.

Signed-off-by: Nikolay Nikolaev <n.nikolaev@virtualopensystems.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
/qemu/hw/virtio/
H A Dvhost.c2e6d46d77ed328d34a94688da8371bcbe243479b Tue May 27 12:04:42 UTC 2014 Nikolay Nikolaev <n.nikolaev@virtualopensystems.com> vhost: add vhost_get_features and vhost_ack_features

Generalize the features get/ack to be used for both vhost-net and vhost-scsi.
In vhost-net add vhost_net_get_feature_bits to select the feature bit set
depending on the NetClient kind.

Signed-off-by: Nikolay Nikolaev <n.nikolaev@virtualopensystems.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>