[PATCH trivial v2 0/7] a few cleanups for linux-user: splice, inotify, epoll

Michael Tokarev posted 7 patches 3 weeks, 5 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260311205459.1101023-1-mjt@tls.msk.ru
Maintainers: Laurent Vivier <laurent@vivier.eu>, Pierrick Bouvier <pierrick.bouvier@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Stefan Hajnoczi <stefanha@redhat.com>, Fam Zheng <fam@euphon.net>, Michael Tokarev <mjt@tls.msk.ru>
linux-user/fd-trans.c     |  5 -----
linux-user/fd-trans.h     |  4 ----
linux-user/syscall.c      | 44 +++++++--------------------------------
linux-user/syscall_defs.h |  3 ---
meson.build               | 19 +++--------------
util/aio-posix.h          |  4 ++--
util/meson.build          |  2 +-
7 files changed, 13 insertions(+), 68 deletions(-)
[PATCH trivial v2 0/7] a few cleanups for linux-user: splice, inotify, epoll
Posted by Michael Tokarev 3 weeks, 5 days ago
Stop checking for linux syscalls which has been introduced long
ago, - on modern system where qemu can run, these syscalls are
always present.

I kept CONFIG_EPOLL separate, not replacing it with CONFIG_LINUX,
since I think it is more understandable this way.  As an option,
the last patch can make s/CONFIG_EPOLL/CONFIG_LINUX_EPOLL/ to make
it explicit, but I'd love to make it EPOLL not LINUX.

v2: rebase on top of native inotify on freebsd changes
 (meson.build: stop checking for inotify_init())

Michael Tokarev (7):
  linux-user/syscall.c: assume splice is always present
  meson.build: stop checking for splice()
  linux-user: assume inotify sycalls are always present
  meson.build: stop checking for inotify_init()
  linux-user: assume epoll is always present
  meson.build: do not check for epoll.h (CONFIG_EPOLL)
  rename CONFIG_EPOLL_CREATE1 to CONFIG_EPOLL, and stop checking for
    epoll in meson.build

 linux-user/fd-trans.c     |  5 -----
 linux-user/fd-trans.h     |  4 ----
 linux-user/syscall.c      | 44 +++++++--------------------------------
 linux-user/syscall_defs.h |  3 ---
 meson.build               | 19 +++--------------
 util/aio-posix.h          |  4 ++--
 util/meson.build          |  2 +-
 7 files changed, 13 insertions(+), 68 deletions(-)

-- 
2.47.3