diff options
author | Jason Wang <jasowang@redhat.com> | 2021-10-19 10:01:45 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-11-01 12:26:48 +0300 |
commit | d50497eb4e554e1f0351e1836ee7241c059592e6 (patch) | |
tree | 78b888b8754adfd13fdb1f368b2e04b4dc64cf0d /drivers/virtio/virtio_pci_common.h | |
parent | 28962ec595d701ec9d39369f9774895dfa408273 (diff) | |
download | linux-d50497eb4e554e1f0351e1836ee7241c059592e6.tar.xz |
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: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20211019070152.8236-4-jasowang@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/virtio/virtio_pci_common.h')
0 files changed, 0 insertions, 0 deletions