Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2020 23:23:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 243713] BHyve VM name length
Message-ID:  <bug-243713-27103-w9uH10k9kW@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-243713-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-243713-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243713

--- Comment #2 from misho@elwix.org ---
Our colleagues from different department tries to request from server VM
instance through RPC service. They wants to have name of VM built from UUID
string.
I check that isn't impossible for creation and found that 32 bytes are crea=
ted
without problem.=20
I offer to them to remove dashes from UUID. Then they will have 32 chars na=
me.
Ok ... tools can handle it, but kernel cannot start it. Then I found that if
the name is 31 chars all is ok.
This is brake point which drive me to start chasing of this issue.

I found where are made checks for length of VM name and variable which cont=
ains
the name of VM.
Decision was based on several considerations
- I like all my variables to be rounded of machine word.
- We should not grow up to much, because I predict that many users already =
have
something like monitoring software which drawing something in tables.=20

This is something like explanation ... :)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243713-27103-w9uH10k9kW>