Commit 2eb98105 authored by Tiwei Bie's avatar Tiwei Bie Committed by Michael S. Tsirkin

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: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarTiwei Bie <tiwei.bie@intel.com>
Reviewed-by: default avatarCornelia Huck <cohuck@redhat.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
parent cfecc291
...@@ -45,9 +45,12 @@ ...@@ -45,9 +45,12 @@
/* We've given up on this device. */ /* We've given up on this device. */
#define VIRTIO_CONFIG_S_FAILED 0x80 #define VIRTIO_CONFIG_S_FAILED 0x80
/* Some virtio feature bits (currently bits 28 through 32) are reserved for the /*
* transport being used (eg. virtio_ring), the rest are per-device feature * Virtio feature bits VIRTIO_TRANSPORT_F_START through
* bits. */ * VIRTIO_TRANSPORT_F_END are reserved for the transport
* being used (e.g. virtio_ring, virtio_pci etc.), the
* rest are per-device feature bits.
*/
#define VIRTIO_TRANSPORT_F_START 28 #define VIRTIO_TRANSPORT_F_START 28
#define VIRTIO_TRANSPORT_F_END 38 #define VIRTIO_TRANSPORT_F_END 38
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment