This commit adds the minimum set of changes required for modern virtio
support.
Signed-off-by: Marco Schlumpp <marco@unikraft.io>
Signed-off-by: Michalis Pappas <michalis@unikraft.io>
Reviewed-by: Andrei Topala <topala.andrei@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #1115
{
__u64 feature = (1ULL << VIRTIO_TRANSPORT_F_START) - 1;
- /**
- * Currently out vring driver does not support any ring feature. We will
- * add support to transport feature in the future.
- */
+ /* Allow version 1 flag */
+ feature |= 1ULL << VIRTIO_F_VERSION_1;
+
feature &= feature_set;
return feature;
}