Skip to content

support for pselect in linux-user

Michael Casadevall qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2This patch adds support for the pselect syscall in linux-user emulation and also adds several support functions required to translate the timespec structs between the target and the host.linux-user/syscall.c+119 -01 reply
2/2Add the syscall id for pselect6 on ARM as this is now supported in newer linux kernels.linux-user/arm/syscall_nr.h+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] support for pselect in linux-user

The attached patches here add support for pselect call emulation in linux-user and also add the proper entry to the ARM architecture syscall lists.

There is some code duplication between do_select() and do_pselect() to handle copying the file descriptors over from the target to host; this could be refactored into two common functions; if desired, I'll resubmit the patch with said refactoring in place.

Michael Casadevall (2):
This patch adds support for the pselect syscall in linux-user
emulation and also adds several support functions required to
translate the timespec structs between the target and the host.
Add the syscall id for pselect6 on ARM as this is now supported in
newer linux kernels.

 linux-user/arm/syscall_nr.h |    2 +-
 linux-user/syscall.c        |  119 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 120 insertions(+), 1 deletions(-)