From owner-freebsd-virtualization@freebsd.org Tue Dec 18 13:54:17 2018 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B182F135250B for ; Tue, 18 Dec 2018 13:54:17 +0000 (UTC) (envelope-from kwiat@panic.pl) Received: from mail.panic.pl (mail.panic.pl [188.68.250.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 45D986DE35 for ; Tue, 18 Dec 2018 13:54:15 +0000 (UTC) (envelope-from kwiat@panic.pl) Received: from mail.panic.pl (localhost [127.0.0.1]) by mail.panic.pl (Postfix) with ESMTP id 658FD438F8 for ; Tue, 18 Dec 2018 14:54:13 +0100 (CET) X-Virus-Scanned: amavisd-new at panic.pl Received: from mail.panic.pl ([127.0.0.1]) by mail.panic.pl (mail.panic.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vqGuo-rv_Y7y for ; Tue, 18 Dec 2018 14:54:13 +0100 (CET) Received: from [192.168.0.190] (188.146.110.162.nat.umts.dynamic.t-mobile.pl [188.146.110.162]) by mail.panic.pl (Postfix) with ESMTPSA id F3D2C438F4 for ; Tue, 18 Dec 2018 14:54:12 +0100 (CET) From: Mateusz Kwiatkowski Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: Bumping VM_MAX_NAMELEN Date: Tue, 18 Dec 2018 14:54:08 +0100 References: To: freebsd-virtualization@freebsd.org In-Reply-To: Message-Id: <993F7B5C-FC58-4C97-889F-BA9F2CA6FB4D@panic.pl> X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 45D986DE35 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of kwiat@panic.pl designates 188.68.250.13 as permitted sender) smtp.mailfrom=kwiat@panic.pl X-Spamd-Result: default: False [3.59 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(0.83)[0.828,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.panic.pl]; NEURAL_SPAM_LONG(1.00)[0.996,0]; RCVD_IN_DNSWL_NONE(0.00)[13.250.68.188.list.dnswl.org : 127.0.10.0]; NEURAL_SPAM_SHORT(0.83)[0.833,0]; IP_SCORE(0.74)[asn: 197226(3.67), country: PL(0.03)]; DMARC_NA(0.00)[panic.pl]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:197226, ipnet:188.68.240.0/20, country:PL]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2018 13:54:17 -0000 > On 18 Dec 2018, at 10:32, Mateusz Kwiatkowski wrote: >=20 > Hello, >=20 > Currently VM_MAX_NAMELEN is set to 32 and thus the maximum length of = virtual machine is 31 characters. > We=E2=80=99re 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=20 > ideally to 37 or more characters? > For comparison qemu-kvm+libvirt allow for virtual machines with names = that are over 240 chars. >=20 I=E2=80=99ve just tested bhyve with VM_MAX_NAMELEN set to 64 on FreeBSD = 12.0-STABLE and everything works as expected. I=E2=80=99ve created bug report for this: = https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234134 =E2=80=94 Regards, Mateusz Kwiatkowski