]> 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)
commitb5ae3406d7244c7ffa0dfbec57c5c5eda4f3497b
tree64aab3d8a29282177d5b3f18f04727170ebce0ad
parentcd3d4245cb9fd2fc3a189fea711e5e2ee675476f
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