Re: [PATCH] vfio/mtty: Enforce available_instances

From: Cornelia Huck
Date: Mon Jun 28 2021 - 10:28:20 EST


On Fri, Jun 25 2021, Alex Williamson <alex.williamson@xxxxxxxxxx> wrote:

> The sample mtty mdev driver doesn't actually enforce the number of
> device instances it claims are available. Implement this properly.
>
> Signed-off-by: Alex Williamson <alex.williamson@xxxxxxxxxx>
> ---
>
> Applies to vfio next branch + Jason's atomic conversion
>
> samples/vfio-mdev/mtty.c | 22 ++++++++++++++++------
> 1 file changed, 16 insertions(+), 6 deletions(-)
>

Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>