]> git.baikalelectronics.ru Git - kernel.git/commit
virtio: Don't expose legacy config features when VIRTIO_CONFIG_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:16 +0000 (15:03 +1030)
commitdf3b69a231d3d22bfa643ee979d00066780477ec
treea655e58cffaf832c9d0647bbb48f6fff51c7cfce
parentb5ae3406d7244c7ffa0dfbec57c5c5eda4f3497b
virtio: Don't expose legacy config features when VIRTIO_CONFIG_NO_LEGACY defined.

The VIRTIO_F_ANY_LAYOUT and VIRTIO_F_NOTIFY_ON_EMPTY features are pre-1.0
only.

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