[Bug 234134] Increase VM_MAX_NAMELEN value

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 18 13:52:13 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234134

            Bug ID: 234134
           Summary: Increase VM_MAX_NAMELEN value
           Product: Base System
           Version: 11.2-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: kwiat3k at panic.pl

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 for VMs.
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.

I've tested hypervisor with VM_MAX_NAMELEN to 64 on stable/12 branch and didn't
experience any issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list