Re: vmd: handle EAGAIN from imsg_flush

2023-08-06 Thread Dave Voutila
Claudio Jeker writes: > On Thu, Aug 03, 2023 at 07:01:51PM -0400, Dave Voutila wrote: >> >> Claudio Jeker writes: >> >> > On Thu, Aug 03, 2023 at 04:20:47PM -0400, Dave Voutila wrote: >> >> Found this while working on some virtio stuff. My original >> >> implementation as part of the multi-pro

Re: vmd: handle EAGAIN from imsg_flush

2023-08-04 Thread Claudio Jeker
On Thu, Aug 03, 2023 at 07:01:51PM -0400, Dave Voutila wrote: > > Claudio Jeker writes: > > > On Thu, Aug 03, 2023 at 04:20:47PM -0400, Dave Voutila wrote: > >> Found this while working on some virtio stuff. My original > >> implementation as part of the multi-process redesign didn't handle if >

Re: vmd: handle EAGAIN from imsg_flush

2023-08-03 Thread Dave Voutila
Claudio Jeker writes: > On Thu, Aug 03, 2023 at 04:20:47PM -0400, Dave Voutila wrote: >> Found this while working on some virtio stuff. My original >> implementation as part of the multi-process redesign didn't handle if >> imsg_flush failed due to resource shortages (EAGAIN), so adopt the >> d

Re: vmd: handle EAGAIN from imsg_flush

2023-08-03 Thread Claudio Jeker
On Thu, Aug 03, 2023 at 04:20:47PM -0400, Dave Voutila wrote: > Found this while working on some virtio stuff. My original > implementation as part of the multi-process redesign didn't handle if > imsg_flush failed due to resource shortages (EAGAIN), so adopt the > do/while idiom used by other daem

vmd: handle EAGAIN from imsg_flush

2023-08-03 Thread Dave Voutila
Found this while working on some virtio stuff. My original implementation as part of the multi-process redesign didn't handle if imsg_flush failed due to resource shortages (EAGAIN), so adopt the do/while idiom used by other daemons like iked(8). Manifests with errors from the vm process looking l