CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/07/17 07:09:18
Modified files:
usr.sbin/vmd : priv.c virtio.c vm.c vmd.c vmd.h vmm.c
Log message:
vmd(8): disambiguate fd variable naming
Split out fd tracking in the global "struct vmd" instance with
explicit names to not reuse the same one for storing semantically
different fds. Some vmd processes were using .vmd_fd to track the
open /dev/vmm while another used it for a socket(2) instance for
ioctls. This makes it hard to reason about and future changes
harder to review.
No intended behavioral change.
Testing help from Mischa Peters.
ok @hshoexer