diff options
| author | Tiwei Bie <tiwei.bie@intel.com> | 2018-06-01 07:26:32 -0400 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2018-06-11 21:59:29 -0400 |
| commit | 2eb98105f8c7f4b867f7f714a998f5b8c1bb009b (patch) | |
| tree | e12f30b6f5b2effadaf71492f7f9e71526d28e6d /include/uapi/linux/virtio_config.h | |
| parent | cfecc2918d2b3c5e86ff1a6c95eabbbb17bb8fd3 (diff) | |
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>
Diffstat (limited to 'include/uapi/linux/virtio_config.h')
| -rw-r--r-- | include/uapi/linux/virtio_config.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/uapi/linux/virtio_config.h b/include/uapi/linux/virtio_config.h index b7c1f4e7d59e..449132c76b1c 100644 --- a/include/uapi/linux/virtio_config.h +++ b/include/uapi/linux/virtio_config.h | |||
| @@ -45,9 +45,12 @@ | |||
| 45 | /* We've given up on this device. */ | 45 | /* We've given up on this device. */ |
| 46 | #define VIRTIO_CONFIG_S_FAILED 0x80 | 46 | #define VIRTIO_CONFIG_S_FAILED 0x80 |
| 47 | 47 | ||
| 48 | /* Some virtio feature bits (currently bits 28 through 32) are reserved for the | 48 | /* |
| 49 | * transport being used (eg. virtio_ring), the rest are per-device feature | 49 | * Virtio feature bits VIRTIO_TRANSPORT_F_START through |
| 50 | * bits. */ | 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 | */ | ||
| 51 | #define VIRTIO_TRANSPORT_F_START 28 | 54 | #define VIRTIO_TRANSPORT_F_START 28 |
| 52 | #define VIRTIO_TRANSPORT_F_END 38 | 55 | #define VIRTIO_TRANSPORT_F_END 38 |
| 53 | 56 | ||
