[Bug 234134] Increase VM_MAX_NAMELEN value

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 12 18:38:53 UTC 2019


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

--- Comment #14 from commit-hook at freebsd.org ---
A commit references this bug:

Author: scottl
Date: Fri Jul 12 18:37:57 UTC 2019
New revision: 349948
URL: https://svnweb.freebsd.org/changeset/base/349948

Log:
  Tie the name limit of a VM to SPECNAMELEN from devfs instead of a
  hard-coded value. Don't allocate space for it from the kernel stack.
  Account for prefix, suffix, and separator space in the name. This
  takes the effective length up to 229 bytes on 13-current, and 37 bytes
  on 12-stable. 37 bytes is enough to hold a full GUID string.

  PR:           234134
  MFC after:    1 week
  Differential Revision:        http://reviews.freebsd.org/D20924

Changes:
  head/sys/amd64/include/vmm.h
  head/sys/amd64/include/vmm_dev.h
  head/sys/amd64/vmm/vmm_dev.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-virtualization mailing list