OSDN Git Service

virtio-pci-modern: introduce helper to set/get queue_enable
authorJason Wang <jasowang@redhat.com>
Mon, 4 Jan 2021 06:54:55 +0000 (14:54 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 23 Feb 2021 12:52:58 +0000 (07:52 -0500)
commitdc2e64819837ba927f2811d8ac95a027d931764d
tree28df9a0eb060d27508ad03815de3a470b721207f
parente1b0fa2e386df72bc92e3ea03759e851fb533c97
virtio-pci-modern: introduce helper to set/get queue_enable

This patch introduces a helper to set/get queue_enable for modern device.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20210104065503.199631-12-jasowang@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_pci_modern.c