ref: c29748226982e52d19dfd206a680b97ed35c44f6
parent: f0bb6bbcb77d04bf5bdf6bcf8765752f78a5d077
author: Ori Bernstein <ori@eigenstate.org>
date: Mon May 31 06:59:45 EDT 2021
sdvirtio: accept multi-queue devices Sdvirtio supports multiple queues per device. We only use one queue, but we shouldn't skip the devices because of that.
--- a/sys/src/9/pc/sdvirtio.c
+++ b/sys/src/9/pc/sdvirtio.c
@@ -611,7 +611,7 @@
id = 'F';
for(vd = viopnpdevs(TypBlk); vd; vd = vd->next){
- if(vd->nqueue != 1)
+ if(vd->nqueue == 0)
continue;
if((s = malloc(sizeof(*s))) == nil)