On 7/18/22 18:17, Peter Maydell wrote: > On Mon, 18 Jul 2022 at 16:50, Helge Deller <del...@gmx.de> wrote: >> On 7/18/22 16:33, Peter Maydell wrote: >>> So my preference would be that we should just say "we can assume >>> that pipe2 is always available and implemented on linux hosts" and >>> remove the code that handles the possibility that it isn't. >> >> Ok for me. >> Do you want me to send a patch or will you do? > > If you'd like to write the patch that would be great. > You can remove the meson.build line that sets CONFIG_PIPE2 > as well, since we have no other places that check it.
Ok, I'll do. Btw, you asked: > Did you run into this in practice, or is it just a > theoretical concern ? I didn't faced the problem in practice. I'm trying to solve another issue and while debugging I stumbled over that code. Helge