error handling: Use RETRY_ON_EINTR() macro where applicable
authorNikita Ivanov <nivanov@cloudlinux.com>
Sun, 23 Oct 2022 09:04:22 +0000 (12:04 +0300)
committerThomas Huth <thuth@redhat.com>
Mon, 9 Jan 2023 12:50:47 +0000 (13:50 +0100)
commit37b0b24e933c18269dddbf6b83f91823cacf8105
treeb36ac8d45a9e188604e44998974d27cf6185e0f3
parent8b6aa69365ca6e9bbc3bf557a6ccc5ed2b468bec
error handling: Use RETRY_ON_EINTR() macro where applicable

There is a defined RETRY_ON_EINTR() macro in qemu/osdep.h
which handles the same while loop.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/415
Signed-off-by: Nikita Ivanov <nivanov@cloudlinux.com>
Message-Id: <20221023090422.242617-3-nivanov@cloudlinux.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
[thuth: Dropped the hunk that changed socket_accept() in libqtest.c]
Signed-off-by: Thomas Huth <thuth@redhat.com>
13 files changed:
block/file-posix.c
chardev/char-pty.c
hw/9pfs/9p-local.c
net/l2tpv3.c
net/socket.c
net/tap.c
qga/commands-posix.c
semihosting/syscalls.c
tests/qtest/libqtest.c
tests/vhost-user-bridge.c
util/main-loop.c
util/osdep.c
util/vfio-helpers.c