Skip to content
Commit d9679d00 authored by Michael S. Tsirkin's avatar Michael S. Tsirkin
Browse files

virtio: wrap config->reset calls



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: default avatarMichael S. Tsirkin <mst@redhat.com>
Link: https://lore.kernel.org/r/20211013105226.20225-1-mst@redhat.com


Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent c9e6606c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment