diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2015-06-04 12:34:19 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-06-10 18:15:04 +0200 |
commit | b1506132001eee6b11cf23b5968cd66ec141a9ed (patch) | |
tree | b8e121d78a09ec45fb6a5d5588ff1d30e8d3b957 | |
parent | df91055db5c9cee93d70ca8c08d72119a240b987 (diff) | |
download | qemu-b1506132001eee6b11cf23b5968cd66ec141a9ed.tar.gz qemu-b1506132001eee6b11cf23b5968cd66ec141a9ed.tar.bz2 qemu-b1506132001eee6b11cf23b5968cd66ec141a9ed.zip |
vhost_net: add version_1 feature
Add VERSION_1 to list of features that we should
test at the backend.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r-- | hw/net/vhost_net.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/net/vhost_net.c b/hw/net/vhost_net.c index 426b23e7e3..dc48ece695 100644 --- a/hw/net/vhost_net.c +++ b/hw/net/vhost_net.c @@ -52,6 +52,7 @@ static const int kernel_feature_bits[] = { VIRTIO_RING_F_INDIRECT_DESC, VIRTIO_RING_F_EVENT_IDX, VIRTIO_NET_F_MRG_RXBUF, + VIRTIO_F_VERSION_1, VHOST_INVALID_FEATURE_BIT }; @@ -62,6 +63,7 @@ static const int user_feature_bits[] = { VIRTIO_RING_F_EVENT_IDX, VIRTIO_F_ANY_LAYOUT, + VIRTIO_F_VERSION_1, VIRTIO_NET_F_CSUM, VIRTIO_NET_F_GUEST_CSUM, VIRTIO_NET_F_GSO, |