[PATCH v2 0/2] linux-user: epoll_pwait2 syscall

Michael Tokarev posted 2 patches 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260109090937.599881-1-mjt@tls.msk.ru
Maintainers: Laurent Vivier <laurent@vivier.eu>
linux-user/syscall.c | 37 ++++++++++++++++++++++++-------------
1 file changed, 24 insertions(+), 13 deletions(-)
[PATCH v2 0/2] linux-user: epoll_pwait2 syscall
Posted by Michael Tokarev 1 month ago
These two changes implements epoll_pwait2 system call.
First is a clean-up so the actual implementation is simpler.

v2: add the get_errno() wrapper missing in v1.  That was a
brown-paper bag bug again.

I also checked the CI/build failure of the very first attempt
to implement this syscall by Zixing Liu, see
https://lists.gnu.org/archive/html/qemu-trivial/2025-05/msg00054.html -
the issue was due to incomplete in-qemu copy of linux-headers,
which is now fixed (by dropping the old copy entirely).

Michael Tokarev (2):
  linux-user: cleanup epoll_pwait ifdeff'ery
  linux-user: implement epoll_pwait2 syscall

 linux-user/syscall.c | 37 ++++++++++++++++++++++++-------------
 1 file changed, 24 insertions(+), 13 deletions(-)

-- 
2.47.3
Re: [PATCH v2 0/2] linux-user: epoll_pwait2 syscall
Posted by Richard Henderson 4 weeks, 1 day ago
On 1/9/26 20:09, Michael Tokarev wrote:
> These two changes implements epoll_pwait2 system call.
> First is a clean-up so the actual implementation is simpler.
> 
> v2: add the get_errno() wrapper missing in v1.  That was a
> brown-paper bag bug again.
> 
> I also checked the CI/build failure of the very first attempt
> to implement this syscall by Zixing Liu, see
> https://lists.gnu.org/archive/html/qemu-trivial/2025-05/msg00054.html -
> the issue was due to incomplete in-qemu copy of linux-headers,
> which is now fixed (by dropping the old copy entirely).
> 
> Michael Tokarev (2):
>    linux-user: cleanup epoll_pwait ifdeff'ery
>    linux-user: implement epoll_pwait2 syscall

Queued, thanks.

r~