virtio-pci: Introduce APIs to execute device parts admin commands
authorYishai Hadas <yishaih@nvidia.com>
Wed, 13 Nov 2024 11:51:57 +0000 (13:51 +0200)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 13 Nov 2024 22:25:41 +0000 (15:25 -0700)
commit52a22c0ed03ce23f20df81f79b23cb6637716fae
tree5589f99f9a1ab82256150b2efacc4d81277b8166
parentbfcad518605d927eff17ffb8ce0a828d7b7ac79f
virtio-pci: Introduce APIs to execute device parts admin commands

Introduce APIs to handle the execution of device parts admin commands.

These APIs cover functionalities such as mode setting, object creation
and destruction, and operations like parts get/set and metadata
retrieval.

These APIs will be utilized in upcoming patches within this series.

Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Link: https://lore.kernel.org/r/20241113115200.209269-5-yishaih@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/virtio/virtio_pci_common.h
drivers/virtio/virtio_pci_modern.c
include/linux/virtio_pci_admin.h