Commit c9d5a7ce authored by Jason Wang's avatar Jason Wang Committed by Todd Kjos
Browse files

UPSTREAM: virtio_config: introduce a new .enable_cbs method



This patch introduces a new method to enable the callbacks for config
and virtqueues. This will be used for making sure the virtqueue
callbacks are only enabled after virtio_device_ready() if transport
implements this method.

Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20211019070152.8236-4-jasowang@redhat.com


Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
(cherry picked from commit d50497eb)
Bug: 196772804
Signed-off-by: default avatarKeir Fraser <keirf@google.com>
Change-Id: I17ea164aa100d690ebde3b2f6c2e5514a9b5cfd9
parent 6434bd9e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment