Use imsg_get_fd() in vmd.
authorclaudio <claudio@openbsd.org>
Thu, 18 Jan 2024 14:49:59 +0000 (14:49 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 18 Jan 2024 14:49:59 +0000 (14:49 +0000)
commit53027660afd49f3afaaee6706bd405257b007996
treef165176876710cd761a1a67a3da451351f2aaf79
parentfbeb52932c09e79e51eda25f2ad7008b9aba1099
Use imsg_get_fd() in vmd.

vmd uses a lot of fd passing and does it sometimes via extra abstraction
so this just tries to convert the code without any optimisations.

ok dv@
usr.sbin/vmd/config.c
usr.sbin/vmd/control.c
usr.sbin/vmd/priv.c
usr.sbin/vmd/proc.c
usr.sbin/vmd/vm.c
usr.sbin/vmd/vmd.c
usr.sbin/vmd/vmm.c