I think they are assigned at boot time but I would have to check the
sources and I am on vacation. :-)
Paolo
Il lun 13 lug 2020, 16:37 Sandro Bonazzola <sbonazzo(a)redhat.com> ha scritto:
+Paolo Bonzini <pbonzini(a)redhat.com> can you help here?
Il giorno mer 1 lug 2020 alle ore 16:56 Gianluca Cecchi <
gianluca.cecchi(a)gmail.com> ha scritto:
> Hello,
> isn't there an official major/minor numbering scheme for virtio disks?
> Sometimes I see 251 major or 252 or so... what is the udev assignment
> logic?
> Reading here:
>
https://www.kernel.org/doc/Documentation/admin-guide/devices.txt
>
> 240-254 block LOCAL/EXPERIMENTAL USE
> Allocated for local/experimental use. For devices not
> assigned official numbers, these ranges should be
> used in order to avoid conflicting with future assignments.
>
> it seems they are in the range of experimental ones, while for example
> Xen /dev/xvdx devices have their own static assignment (202 major)
>
> Thanks,
> Gianluca
> _______________________________________________
> Users mailing list -- users(a)ovirt.org
> To unsubscribe send an email to users-leave(a)ovirt.org
> Privacy Statement:
https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
>
https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
>
https://lists.ovirt.org/archives/list/users@ovirt.org/message/AEQB6H75QLY...
>
--
Sandro Bonazzola
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
Red Hat EMEA <
https://www.redhat.com/>
sbonazzo(a)redhat.com
<
https://www.redhat.com/>
*Red Hat respects your work life balance. Therefore there is no need to
answer this email out of your office hours.
<
https://mojo.redhat.com/docs/DOC-1199578>*