From: riku.voipio@linaro.org
To: qemu-devel@nongnu.org
Cc: Chen Gang <gang.chen.5i5j@gmail.com>
Subject: [Qemu-devel] [PULL 11/13] linux-user/syscall.c: Add EAGAIN to host_to_target_errno_table for
Date: Fri, 2 Oct 2015 16:01:03 +0300 [thread overview]
Message-ID: <08703b9f7bcd7ca2152d51a4c8893d26f1dc28de.1443790691.git.riku.voipio@linaro.org> (raw)
In-Reply-To: <cover.1443790691.git.riku.voipio@linaro.org>
From: Chen Gang <gang.chen.5i5j@gmail.com>
Under Alpha host, EAGAIN is redefined to 35, so it need be remapped too.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
---
linux-user/syscall.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 9528344..98b5766 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -457,6 +457,7 @@ static uint16_t target_to_host_errno_table[ERRNO_TABLE_SIZE] = {
* minus the errnos that are not actually generic to all archs.
*/
static uint16_t host_to_target_errno_table[ERRNO_TABLE_SIZE] = {
+ [EAGAIN] = TARGET_EAGAIN,
[EIDRM] = TARGET_EIDRM,
[ECHRNG] = TARGET_ECHRNG,
[EL2NSYNC] = TARGET_EL2NSYNC,
--
2.5.3
next prev parent reply other threads:[~2015-10-02 13:01 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-02 13:00 [Qemu-devel] [PULL 00/13] linux-user queque riku.voipio
2015-10-02 13:00 ` [Qemu-devel] [PULL 01/13] linux-user: Exit 0 when -h is used riku.voipio
2015-10-02 13:00 ` [Qemu-devel] [PULL 02/13] linux-user: Add -help riku.voipio
2015-10-02 13:00 ` [Qemu-devel] [PULL 03/13] linux-user: Add proper error messages for bad options riku.voipio
2015-10-02 13:00 ` [Qemu-devel] [PULL 04/13] linux-user: use EXIT_SUCCESS and EXIT_FAILURE riku.voipio
2015-10-02 13:00 ` [Qemu-devel] [PULL 05/13] linux-user: Treat --foo options the same as -foo riku.voipio
2015-10-02 13:00 ` [Qemu-devel] [PULL 06/13] linux-user: remove unused image_info members riku.voipio
2015-10-02 13:00 ` [Qemu-devel] [PULL 07/13] linux-user: remove MAX_ARG_PAGES limit riku.voipio
2015-10-02 13:01 ` [Qemu-devel] [PULL 08/13] linux-user: fix cmsg conversion in case of multiple headers riku.voipio
2015-10-02 13:01 ` [Qemu-devel] [PULL 09/13] linux-user: Return target error number in do_fork() riku.voipio
2015-10-02 13:01 ` [Qemu-devel] [PULL 10/13] linux-user: add name_to_handle_at/open_by_handle_at riku.voipio
2015-10-02 13:01 ` riku.voipio [this message]
2015-10-02 13:01 ` [Qemu-devel] [PULL 12/13] linux-user/signal.c: Use setup_rt_frame() instead of setup_frame() for target openrisc riku.voipio
2015-10-02 13:01 ` [Qemu-devel] [PULL 13/13] linux-user: assert that target_mprotect cannot fail riku.voipio
2015-10-02 15:51 ` [Qemu-devel] [PULL 00/13] linux-user queque Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=08703b9f7bcd7ca2152d51a4c8893d26f1dc28de.1443790691.git.riku.voipio@linaro.org \
--to=riku.voipio@linaro.org \
--cc=gang.chen.5i5j@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).