Skip to content

Commit 2eb9810

Browse files
Tiwei Biemstsirkin
authored andcommitted
virtio: update the comments for transport features
The existing comments for transport features are outdated. So update them to address the latest changes in the spec. Suggested-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Tiwei Bie <tiwei.bie@intel.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
1 parent cfecc29 commit 2eb9810

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

include/uapi/linux/virtio_config.h

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,12 @@
4545
/* We've given up on this device. */
4646
#define VIRTIO_CONFIG_S_FAILED 0x80
4747

48-
/* Some virtio feature bits (currently bits 28 through 32) are reserved for the
49-
* transport being used (eg. virtio_ring), the rest are per-device feature
50-
* bits. */
48+
/*
49+
* Virtio feature bits VIRTIO_TRANSPORT_F_START through
50+
* VIRTIO_TRANSPORT_F_END are reserved for the transport
51+
* being used (e.g. virtio_ring, virtio_pci etc.), the
52+
* rest are per-device feature bits.
53+
*/
5154
#define VIRTIO_TRANSPORT_F_START 28
5255
#define VIRTIO_TRANSPORT_F_END 38
5356

0 commit comments

Comments
 (0)