virtio: add VIRTIO_RING_NO_LEGACY
authorMatej Genci <matej.genci@nutanix.com>
Wed, 11 Sep 2019 12:49:53 +0000 (12:49 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 2 Jun 2020 06:45:13 +0000 (02:45 -0400)
commite7c8cc35a64d1d21e6fb811c519eadbda30f4f77
treea2065d7a2dfb7fc69b2dce63f76995bdd6006b09
parent3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162
virtio: add VIRTIO_RING_NO_LEGACY

Add macro to disable legacy vring functions.

Signed-off-by: Matej Genci <matej.genci@nutanix.com>
Link: https://lore.kernel.org/r/20190911124942.243713-1-matej.genci@nutanix.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_pci_modern.c
include/uapi/linux/virtio_ring.h