diff options
author | Dragos Tatulea <dtatulea@nvidia.com> | 2023-12-25 16:42:10 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2024-01-10 21:01:37 +0300 |
commit | a09483c4065fe1e14812f2371cee1cba78a13d60 (patch) | |
tree | 5113b681eefbfe60a6bde1d16842f365398cc849 /scripts/gdb/linux/tasks.py | |
parent | c7e194402be3ed385dfaefaf1681bb731fd776e2 (diff) | |
download | linux-a09483c4065fe1e14812f2371cee1cba78a13d60.tar.xz |
vdpa: Block vq property changes in DRIVER_OK
The virtio standard doesn't allow for virtqueue address and state
changes when the device is in DRIVER_OK. Return an error in such cases
unless the device is suspended.
The suspended device exception is needed because some devices support
virtqueue changes when the device is suspended.
Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Suggested-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <20231225134210.151540-3-dtatulea@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions