diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2014-10-24 14:25:03 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-12-09 12:05:30 +0200 |
commit | 41e3e42108bc5ebc77d40d6fe1216c483a6b1f9d (patch) | |
tree | cfd602f2cb2d603d73d33af04bdabad4f71deccd /drivers/vhost/net.c | |
parent | e4fca7d6ff1a8f784336b04aff3278cb7fc76332 (diff) | |
download | lwn-41e3e42108bc5ebc77d40d6fe1216c483a6b1f9d.tar.gz lwn-41e3e42108bc5ebc77d40d6fe1216c483a6b1f9d.zip |
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.c | 3 |
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 { |