projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df91055
)
vhost_net: add version_1 feature
author
Michael S. Tsirkin
<mst@redhat.com>
Thu, 4 Jun 2015 10:34:19 +0000
(12:34 +0200)
committer
Michael S. Tsirkin
<mst@redhat.com>
Wed, 10 Jun 2015 16:15:04 +0000
(18:15 +0200)
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>
hw/net/vhost_net.c
patch
|
blob
|
history
diff --git
a/hw/net/vhost_net.c
b/hw/net/vhost_net.c
index 426b23e7e36991d7f4f9a73610aea3e8fd49f731..dc48ece695428df6e3a4474f3dcae9d7fdc25d23 100644
(file)
--- 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,