public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* Startup fd to avoid busywaits
@ 2026-05-27 17:08 Lisanna Dettwyler
  2026-05-27 19:39 ` Paul Holzinger
  2026-05-27 19:39 ` Stefano Brivio
  0 siblings, 2 replies; 3+ messages in thread
From: Lisanna Dettwyler @ 2026-05-27 17:08 UTC (permalink / raw)
  To: passt-dev

[-- Attachment #1: Type: text/plain, Size: 708 bytes --]

Hello! I would like to propose a patch that allows the invoker to pass a
"ready fd" on startup that gets written to once the setup has been
completed, similar to slirp4netns's `--ready-fd` flag. Currently we have to
poll the interface in a loop to wait for setup to be completed, and it
would be much better if we could instead block on fd activity.

Just wanted to check if such a contribution would be welcome before putting
in the work of authoring it, or if there's already a better way to wait for
the interface to come up. This is our current implementation:
https://github.com/NixOS/nix/pull/15919/changes#diff-2a9176262efad1ef345d882b0779646e7a5aaf9ca8db33e9da7fc408594b5377R94-R125

Thanks,
Lisanna

[-- Attachment #2: Type: text/html, Size: 947 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-05-27 19:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-27 17:08 Startup fd to avoid busywaits Lisanna Dettwyler
2026-05-27 19:39 ` Paul Holzinger
2026-05-27 19:39 ` Stefano Brivio

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).