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.
This commit is contained in:
parent
f0bb6bbcb7
commit
c297482269
1 changed files with 1 additions and 1 deletions
|
@ -611,7 +611,7 @@ viopnp(void)
|
|||
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue