On Thu, 31 Mar 2022 at 04:10, Andrew Scull <[email protected]> wrote:
>
> When looking into possibilities for testing virtio drivers I was trying
> to simulate the device's responses in the virtqueue. It required a hack
> to get access to the virtqueue by accessing the driver's private data
> and only allows pre-programmed buffer returns but no dynamic responses,
> data or descriptor modifications.
>
> This is an example of a regression test for the virtio-rng fix in the
> previous patch.
>
> Signed-off-by: Andrew Scull <[email protected]>
> ---
>  test/dm/virtio.c | 36 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)

Reviewed-by: Simon Glass <[email protected]>

Seems fine to me.

Reply via email to