]> git.baikalelectronics.ru Git - kernel.git/commit
virtio: Don't expose legacy block features when VIRTIO_BLK_NO_LEGACY defined.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 11 Feb 2015 04:31:14 +0000 (15:01 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 11 Feb 2015 04:33:15 +0000 (15:03 +1030)
commit8c13244f147501f71d576e73b180ddb5c44d4819
tree64aab3d8a29282177d5b3f18f04727170ebce0ad
parentde308d6b0b5fdcafeaaa11577001598a9c859122
virtio: Don't expose legacy block features when VIRTIO_BLK_NO_LEGACY defined.

This allows modern implementations to ensure they don't use legacy
feature bits or SCSI commands (which are not used in v1.0 non-legacy).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
include/uapi/linux/virtio_blk.h