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

Michael Tokarev <[email protected]>
Newsgroups org.nongnu.qemu-trivial,org.nongnu.qemu-devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.