History

virtio: make VIRTIO_F_VERSION_1 a transport bit

Activate VIRTIO_F_VERSION_1 automatically unless legacy_only is set.

Michael S. Tsirkin committed 11 years ago

Commit 747ae341 parent df1b57f3 files · +9 −3Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/virtio_config.h+2−2
@@ -43,11 +43,11 @@ · 42 unmodified lines
43/* We've given up on this device. */43/* We've given up on this device. */
44#define VIRTIO_CONFIG_S_FAILED 0x8044#define VIRTIO_CONFIG_S_FAILED 0x80
45 45
46/* Some virtio feature bits (currently bits 28 through 31) are reserved for the46/* Some virtio feature bits (currently bits 28 through 32) are reserved for the
47 * transport being used (eg. virtio_ring), the rest are per-device feature47 * transport being used (eg. virtio_ring), the rest are per-device feature
48 * bits. */48 * bits. */
49#define VIRTIO_TRANSPORT_F_START 2849#define VIRTIO_TRANSPORT_F_START 28
50#define VIRTIO_TRANSPORT_F_END 3250#define VIRTIO_TRANSPORT_F_END 33
51 51
52/* Do we get callbacks when the ring is completely used, even if we've52/* Do we get callbacks when the ring is completely used, even if we've
53 * suppressed them? */53 * suppressed them? */