diff options
author | Feng Liu <[email protected]> | 2023-12-19 11:32:41 +0200 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2023-12-19 11:51:31 -0700 |
commit | 92792ac752aa80d5ee71bc291d90edd06cd76bd1 (patch) | |
tree | a3ce025550fe594c0a412354c08d9eabb1f2f4dc /scripts/gdb/linux/utils.py | |
parent | fd27ef6b44bec26915c5b2b22c13856d9f0ba17a (diff) |
virtio-pci: Introduce admin command sending function
Add support for sending admin command through admin virtqueue interface.
Abort any inflight admin commands once device reset completes. Activate
admin queue when device becomes ready; deactivate on device reset.
To comply to the below specification statement [1], the admin virtqueue
is activated for upper layer users only after setting DRIVER_OK status.
[1] The driver MUST NOT send any buffer available notifications to the
device before setting DRIVER_OK.
Signed-off-by: Feng Liu <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Yishai Hadas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions