[PATCH v2 05/15] virtio_blk: drop config_enable

Cornelia Huck
Mon, 06 Oct 2014 15:26:56 -0000

On Mon, 6 Oct 2014 18:10:58 +0300
"Michael S. Tsirkin" <mst at redhat.com> wrote:

> Now that virtio core ensures config changes don't
> arrive during probing, drop config_enable flag
> in virtio blk.
> On removal, flush is now sufficient to guarantee that
> no change work is queued.
>
> This help simplify the driver, and will allow
> setting DRIVER_OK earlier without losing config
> change notifications.
>
> Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
> ---
>  drivers/block/virtio_blk.c | 23 ++++-------------------
>  1 file changed, 4 insertions(+), 19 deletions(-)

Reviewed-by: Cornelia Huck <cornelia.huck at de.ibm.com>