summaryrefslogtreecommitdiffstats
path: root/drivers/vhost/net.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-10-24 14:25:03 +0300
committerMichael S. Tsirkin <mst@redhat.com>2014-12-09 12:05:30 +0200
commit41e3e42108bc5ebc77d40d6fe1216c483a6b1f9d (patch)
treecfd602f2cb2d603d73d33af04bdabad4f71deccd /drivers/vhost/net.c
parente4fca7d6ff1a8f784336b04aff3278cb7fc76332 (diff)
downloadlinux-41e3e42108bc5ebc77d40d6fe1216c483a6b1f9d.tar.bz2
vhost/net: enable virtio 1.0
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost/net.c')
-rw-r--r--drivers/vhost/net.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c
index 8ff4a6dd2387..a935c254749e 100644
--- a/drivers/vhost/net.c
+++ b/drivers/vhost/net.c
@@ -61,7 +61,8 @@ MODULE_PARM_DESC(experimental_zcopytx, "Enable Zero Copy TX;"
enum {
VHOST_NET_FEATURES = VHOST_FEATURES |
(1ULL << VHOST_NET_F_VIRTIO_NET_HDR) |
- (1ULL << VIRTIO_NET_F_MRG_RXBUF),
+ (1ULL << VIRTIO_NET_F_MRG_RXBUF) |
+ (1ULL << VIRTIO_F_VERSION_1),
};
enum {