OSDN Git Service

virtio-pci-modern: introduce helper for getting queue nums
authorJason Wang <jasowang@redhat.com>
Mon, 4 Jan 2021 06:54:57 +0000 (14:54 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 23 Feb 2021 12:52:58 +0000 (07:52 -0500)
commit6e52fc446d32a82936f05106ffeef5cf8529e6c4
treec9ead0e93c51cb9a424ccb7103979a3970ab4250
parent75658afbab57706c241ca7d60559ebefd631fc6f
virtio-pci-modern: introduce helper for getting queue nums

This patch introduces helper for getting queue num of modern device.

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