aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorEli Cohen <[email protected]>2021-06-02 10:15:36 +0800
committerMichael S. Tsirkin <[email protected]>2021-07-08 07:49:02 -0400
commitefa08cb468cdd67855f63f341eac5f5f9ac93370 (patch)
tree8f6b49119a58496c0a7221c90af202b4b169fc8c /lib/mpi/mpi-sub-ui.c
parent1225c216d9542ed4883027d3af50035c35a7a03c (diff)
virtio/vdpa: clear the virtqueue state during probe
Clear the available index as part of the initialization process to clear and values that might be left from previous usage of the device. For example, if the device was previously used by vhost_vdpa and now probed by vhost_vdpa, you want to start with indices. Fixes: c043b4a8cf3b ("virtio: introduce a vDPA based transport") Signed-off-by: Eli Cohen <[email protected]> Signed-off-by: Jason Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]> Reviewed-by: Eli Cohen <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions