vhost/net: enable virtio 1.0
authorMichael S. Tsirkin <mst@redhat.com>
Fri, 24 Oct 2014 11:25:03 +0000 (14:25 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Dec 2014 10:05:30 +0000 (12:05 +0200)
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/net.c

index 8ff4a6dd238736a2a701cc04f740e939689cf842..a935c254749e29a339afdede2064d0e5aa9c006d 100644 (file)
@@ -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 {