Download raw body.
remove vmd's send/receive functionality
On Fri, Jun 27, 2025 at 03:29:02PM +1000, Jonathan Gray wrote:
> vm_receive_fd can also go?
>
> Index: vmd.c
> ===================================================================
> RCS file: /cvs/src/usr.sbin/vmd/vmd.c,v
> diff -u -p -r1.167 vmd.c
> --- vmd.c 9 Jun 2025 18:43:01 -0000 1.167
> +++ vmd.c 27 Jun 2025 05:24:48 -0000
> @@ -1217,7 +1217,6 @@ vm_register(struct privsep *ps, struct v
> vcp = &vmc->vmc_params;
> vm->vm_pid = -1;
> vm->vm_tty = -1;
> - vm->vm_receive_fd = -1;
> vm->vm_kernel = -1;
> vm->vm_state &= ~VM_STATE_PAUSED;
>
> Index: vmd.h
> ===================================================================
> RCS file: /cvs/src/usr.sbin/vmd/vmd.h,v
> diff -u -p -r1.137 vmd.h
> --- vmd.h 12 Jun 2025 21:04:37 -0000 1.137
> +++ vmd.h 27 Jun 2025 05:24:39 -0000
> @@ -293,7 +293,6 @@ struct vmd_vm {
> int vm_from_config;
> struct imsgev vm_iev;
> uid_t vm_uid;
> - int vm_receive_fd;
> unsigned int vm_state;
> /* When set, VM is running now (PROC_PARENT only) */
> #define VM_STATE_RUNNING 0x01
>
ok mlarkin
remove vmd's send/receive functionality