Skip to content
Snippets Groups Projects
Commit 24d81adc authored by Asias He's avatar Asias He Committed by Avi Kivity
Browse files

virtio-net: Do not specify VIRTIO_RING_F_INDIRECT_DESC twice.


VIRTIO_RING_F_INDIRECT_DESC belongs to the base features bits. No need
to specify it in net driver.

Signed-off-by: default avatarAsias He <asias@cloudius-systems.com>
Reviewed-by: default avatarDor Laor <dor@cloudius-systems.com>
Signed-off-by: default avatarAvi Kivity <avi@cloudius-systems.com>
parent 5cd8c877
No related branches found
No related tags found
No related merge requests found
......@@ -703,8 +703,7 @@ u32 net::get_driver_features(void)
| (1 << VIRTIO_NET_F_GUEST_TSO4) \
| (1 << VIRTIO_NET_F_HOST_ECN) \
| (1 << VIRTIO_NET_F_HOST_TSO4) \
| (1 << VIRTIO_NET_F_GUEST_ECN) \
| (1 << VIRTIO_RING_F_INDIRECT_DESC));
| (1 << VIRTIO_NET_F_GUEST_ECN));
}
hw_driver* net::probe(hw_device* dev)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment