diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2016-05-12 18:47:51 +0100 |
|---|---|---|
| committer | Riku Voipio <riku.voipio@linaro.org> | 2016-05-27 14:50:38 +0300 |
| commit | 6df9d38d33be8397bda8838dea5a4a10d662749b (patch) | |
| tree | a67017b1a9b5dceeedce8e30fe038b54b75eedfd /migration/qemu-file-unix.c | |
| parent | ffdcbe223d23461669869e85786145cce65e1e8c (diff) | |
| download | focaccia-qemu-6df9d38d33be8397bda8838dea5a4a10d662749b.tar.gz focaccia-qemu-6df9d38d33be8397bda8838dea5a4a10d662749b.zip | |
linux-user: Use safe_syscall for pselect, select syscalls
Use the safe_syscall wrapper for the pselect and select syscalls. Since not every architecture has the select syscall, we now have to implement select in terms of pselect, which means doing timeval<->timespec conversion. (Five years on from the initial patch that added pselect support to QEMU and a decade after pselect6 went into the kernel, it seems safe to not try to support hosts with header files which don't define __NR_pselect6.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'migration/qemu-file-unix.c')
0 files changed, 0 insertions, 0 deletions