Re: [PATCH RFC] virtio: wrap config->reset calls

From: Jean-Philippe Brucker
Date: Thu Oct 14 2021 - 04:36:40 EST


On Wed, Oct 13, 2021 at 06:55:31AM -0400, Michael S. Tsirkin wrote:
> This will enable cleanups down the road.
> The idea is to disable cbs, then add "flush_queued_cbs" callback
> as a parameter, this way drivers can flush any work
> queued after callbacks have been disabled.
>
> Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
> ---

> drivers/iommu/virtio-iommu.c | 2 +-

Reviewed-by: Jean-Philippe Brucker <jean-philippe@xxxxxxxxxx>