virtio-pci: Initialize the supported admin commands
authorYishai Hadas <yishaih@nvidia.com>
Tue, 19 Dec 2023 09:32:43 +0000 (11:32 +0200)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 19 Dec 2023 18:51:32 +0000 (11:51 -0700)
commitf51e146f1e5c9de02433e51f5a344556502d9c6a
treefb7c89757bf27f1713579369b7c380a54b9ca1ad
parent388431b9f59bbfde2b5f2fe032b0836158b09ad0
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>
drivers/virtio/Kconfig
drivers/virtio/virtio_pci_common.h
drivers/virtio/virtio_pci_modern.c