bug#63516: [PATCH Guile-Netlink 00/11] Add 'wait-for-link' and related code

2023-05-24 Thread Julien Lepiller
I'll probably tag a release this week-end. Le 24 mai 2023 16:55:56 GMT+02:00, "Ludovic Courtès" a écrit : >Hello, > >Julien Lepiller skribis: > >> Thanks, I was able to test it simply by doing something like >> (wait-for-link "veth0") and from another terminal, "ip l add veth0 type >> veth peer

bug#63516: [PATCH Guile-Netlink 00/11] Add 'wait-for-link' and related code

2023-05-24 Thread Ludovic Courtès
Hello, Julien Lepiller skribis: > Thanks, I was able to test it simply by doing something like > (wait-for-link "veth0") and from another terminal, "ip l add veth0 type > veth peer veth1" (it doesn't have to be veth, it's the first one I > thought of that I didn't have to reach the manual for).

bug#63516: [PATCH Guile-Netlink 00/11] Add 'wait-for-link' and related code

2023-05-23 Thread Julien Lepiller
Thanks, I was able to test it simply by doing something like (wait-for-link "veth0") and from another terminal, "ip l add veth0 type veth peer veth1" (it doesn't have to be veth, it's the first one I thought of that I didn't have to reach the manual for). Pushed to guile-netlink's master :) Le

bug#63516: [PATCH Guile-Netlink 00/11] Add 'wait-for-link' and related code

2023-05-23 Thread Ludovic Courtès
Hi Julien, As a followup to , here is code that lets us wait for a link to show up “the right way”—i.e., without polling. It works over SOCK_NONBLOCK sockets, for use in Fibers programs. I tested it in a VM created with ‘guix system vm’. If the “ens3” device