summaryrefslogtreecommitdiffstats
path: root/block/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-02-05 18:15:24 +0100
committerMichael S. Tsirkin <mst@redhat.com>2017-02-27 20:54:05 +0200
commit73473427bb551686e4b68ecd99bfd27e6635286a (patch)
tree1fcd48bde4b03d0aa3688e88f916a412a6156357 /block/Kconfig
parentbbaba479563910aaa51e59bb9027a09e396d3a3c (diff)
downloadlinux-0-day-73473427bb551686e4b68ecd99bfd27e6635286a.tar.gz
linux-0-day-73473427bb551686e4b68ecd99bfd27e6635286a.tar.xz
blk-mq: provide a default queue mapping for virtio device
Similar to the PCI version, just calling into virtio instead. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'block/Kconfig')
-rw-r--r--block/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/block/Kconfig b/block/Kconfig
index 8bf114a3858ac..3523b4f0cd8b3 100644
--- a/block/Kconfig
+++ b/block/Kconfig
@@ -165,4 +165,9 @@ config BLK_MQ_PCI
depends on BLOCK && PCI
default y
+config BLK_MQ_VIRTIO
+ bool
+ depends on BLOCK && VIRTIO
+ default y
+
source block/Kconfig.iosched