Date: Tue, 18 Dec 2018 14:54:08 +0100 From: Mateusz Kwiatkowski <kwiat@panic.pl> To: freebsd-virtualization@freebsd.org Subject: Re: Bumping VM_MAX_NAMELEN Message-ID: <993F7B5C-FC58-4C97-889F-BA9F2CA6FB4D@panic.pl> In-Reply-To: <AEB45FD1-4B06-4440-927F-5B77AF0641D4@panic.pl> References: <AEB45FD1-4B06-4440-927F-5B77AF0641D4@panic.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 18 Dec 2018, at 10:32, Mateusz Kwiatkowski <kwiat@panic.pl> wrote: > > 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. > I’ve just tested bhyve with VM_MAX_NAMELEN set to 64 on FreeBSD 12.0-STABLE and everything works as expected. I’ve created bug report for this: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234134 — Regards, Mateusz Kwiatkowski
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?993F7B5C-FC58-4C97-889F-BA9F2CA6FB4D>
