diff options
author | Feng Liu <feliu@nvidia.com> | 2023-12-19 12:32:42 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2023-12-19 21:51:32 +0300 |
commit | 388431b9f59bbfde2b5f2fe032b0836158b09ad0 (patch) | |
tree | 1bd9481d9ae55d3bef4b98dd6d6f4bbe710d2850 /drivers/virtio/virtio_pci_legacy.c | |
parent | 92792ac752aa80d5ee71bc291d90edd06cd76bd1 (diff) | |
download | linux-388431b9f59bbfde2b5f2fe032b0836158b09ad0.tar.xz |
virtio-pci: Introduce admin commands
Introduces admin commands, as follow:
The "list query" command can be used by the driver to query the
set of admin commands supported by the virtio device.
The "list use" command is used to inform the virtio device which
admin commands the driver will use.
The "legacy common cfg rd/wr" commands are used to read from/write
into the legacy common configuration structure.
The "legacy dev cfg rd/wr" commands are used to read from/write
into the legacy device configuration structure.
The "notify info" command is used to query the notification region
information.
Signed-off-by: Feng Liu <feliu@nvidia.com>
Reviewed-by: Parav Pandit <parav@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@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-5-yishaih@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/virtio/virtio_pci_legacy.c')
0 files changed, 0 insertions, 0 deletions