Bumping VM_MAX_NAMELEN

Mateusz Kwiatkowski kwiat at panic.pl
Tue Dec 18 09:33:00 UTC 2018


Hello,

Currently VM_MAX_NAMELEN is set to 32 and thus the maximum length of virtual machine is 31 characters.
We’re building product that uses bhyve to run virtual machines and we wanted to use UUIDs as names.
UUID with hyphens has 36 characters and without it has 32 characters. Can this limit be increased to 33 and 
ideally to 37 or more characters?
For comparison qemu-kvm+libvirt allow for virtual machines with names that are over 240 chars.

—
Regards,
Mateusz Kwiatkowski


More information about the freebsd-virtualization mailing list