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 <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
This commit is contained in:
Christoph Hellwig 2017-02-05 18:15:24 +01:00 • committed by Michael S. Tsirkin
commit 73473427bb
4 changed files with 70 additions and 0 deletions

View file

@ -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