diff options
author | Jason Wang <jasowang@redhat.com> | 2021-06-02 10:15:35 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-07-08 07:49:02 -0400 |
commit | 1225c216d9542ed4883027d3af50035c35a7a03c (patch) | |
tree | a467011b704e1da6c6ee0f44aeb74e6fb7c1da8b /drivers/virtio | |
parent | 0140b3d07617e71a8d9509776434ced107572fc8 (diff) | |
download | linux-1225c216d9542ed4883027d3af50035c35a7a03c.tar.bz2 |
vp_vdpa: allow set vq state to initial state after reset
We used to fail the set_vq_state() since it was not supported yet by
the virtio spec. But if the bus tries to set the state which is equal
to the device initial state after reset, we can let it go.
This is a must for virtio_vdpa() to set vq state during probe which is
required for some vDPA parents.
Signed-off-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20210602021536.39525-4-jasowang@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eli Cohen <elic@nvidia.com>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions