[Bug 243713] BHyve VM name length

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 29 23:23:34 UTC 2020


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

--- Comment #2 from misho at 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 created
without problem. 
I offer to them to remove dashes from UUID. Then they will have 32 chars name.
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 contains
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. 

This is something like explanation ... :)

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


More information about the freebsd-virtualization mailing list