summaryrefslogtreecommitdiff
path: root/drivers/virtio/Kconfig
diff options
context:
space:
mode:
authorYishai Hadas <yishaih@nvidia.com>2023-12-19 12:32:43 +0300
committerAlex Williamson <alex.williamson@redhat.com>2023-12-19 21:51:32 +0300
commitf51e146f1e5c9de02433e51f5a344556502d9c6a (patch)
treefb7c89757bf27f1713579369b7c380a54b9ca1ad /drivers/virtio/Kconfig
parent388431b9f59bbfde2b5f2fe032b0836158b09ad0 (diff)
downloadlinux-f51e146f1e5c9de02433e51f5a344556502d9c6a.tar.xz
virtio-pci: Initialize the supported admin commands
Initialize the supported admin commands upon activating the admin queue. The supported commands are saved as part of the admin queue context. Next patches in this series will expose APIs to use them. Reviewed-by: Feng Liu <feliu@nvidia.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Yishai Hadas <yishaih@nvidia.com> Link: https://lore.kernel.org/r/20231219093247.170936-6-yishaih@nvidia.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/virtio/Kconfig')
-rw-r--r--drivers/virtio/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig
index 0a53a61231c2..c17193544268 100644
--- a/drivers/virtio/Kconfig
+++ b/drivers/virtio/Kconfig
@@ -60,6 +60,11 @@ config VIRTIO_PCI
If unsure, say M.
+config VIRTIO_PCI_ADMIN_LEGACY
+ bool
+ depends on VIRTIO_PCI && (X86 || COMPILE_TEST)
+ default y
+
config VIRTIO_PCI_LEGACY
bool "Support for legacy virtio draft 0.9.X and older devices"
default y