[PATCH] virtio_blk: Dont waste major numbers

Christian Borntraeger
2008-01-31T23:34:05Z

Am Donnerstag, 31. Januar 2008 schrieb Anthony Liguori:
> There's are some other limitations to the number of virtio block
> devices.  For instances...
>
> >  	sprintf(vblk->disk->disk_name, "vd%c",
virtblk_index++);
>
> This gets bogus after 64 disks.

Right. I will fix that with an additional patch.

> We also have a hard limit for
> virtio-pci based on the number of PCI slots available.  One thing I was
> considering was whether we should try to support multiple disks per
> virtio device.

What is the hard limit in the PCI name space?


Christian