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)
commit6d96ee98b1d08bcf0f90a6bf2c6766dda6b3a010
treea655e58cffaf832c9d0647bbb48f6fff51c7cfce
parent527100a4ee744bbfc90f1609ee4a0144883b3e4a
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