Displaying 1 result from an estimated 1 matches for "set_queue_ready".
2020 Jul 20
0
[PATCH vhost next 10/10] vdpa/mlx5: Add VDPA driver for supported mlx5 devices
...t;not ready".
Is this a hardware limitation of software one?
I'm asking since we need support live migration. But a questions is how
to stop the device but not reset, since we need get e.g last_avail_idx
from the device.
It could be either:
1) set_status(0)
2) get_vq_state()
or
1) set_queue_ready(0)
2) get_vq_state()
Set_status(0) means reset the virtio device but last_avail_idx is
something out of virtio spec. I guess using set_queue_ready() is better.
What's you opinion?
Thanks
> The
> only option is to destroy it and create a new one. This means that if I
> get ready...