All of lore.kernel.org
 help / color / mirror / Atom feed
From: deller@kernel.org
To: "Philippe Mathieu-Daudé" <philmd@linaro.org>,
	"Richard Henderson" <richard.henderson@linaro.org>,
	"Laurent Vivier" <laurent@vivier.eu>,
	qemu-devel@nongnu.org, "Stefan Hajnoczi" <stefanha@gmail.com>
Cc: deller@gmx.de
Subject: [PATCH v4 0/7] linux-user: Add support for various missing netlink sockopt entries
Date: Mon, 20 Jan 2025 22:33:33 +0100	[thread overview]
Message-ID: <20250120213340.359195-1-deller@kernel.org> (raw)

From: Helge Deller <deller@gmx.de>

This patchset adds various missing sockopt calls, so that qemu linux-user
is able to successfully build the debian gupnp package in a chroot.

Tested with a 32-bit big-endian hppa linux-user chroot running on a phyiscal
x86-64 little-endian host.

This fixes debian's bug report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1044651

Signed-off-by: Helge Deller <deller@gmx.de>

Please review patches #1 and #7.

Changes in v4:
- rewrote patch #1 to fix build on ubuntu 22.04 and add
  cleanup-patch #7
- added S-o-b from Laurent to patches #3 and #4

Changes in v3:
- Updated patches #3, #4 and #5 based on suggestions from
  Laurent Vivier

Changes in v2:
- Moved IFA_PROTO in patch 1 as suggested by Laurent Vivier
- Added Reviewed-by from Philippe Mathieu-Daudé and Laurent Vivier
  in patch 2

Helge Deller (7):
  linux-user: netlink: Add missing IFA_PROTO to
    host_to_target_data_addr_rtattr()
  linux-user: Use unique error messages for cmsg parsing
  linux-user: netlink: Add IP_PKTINFO cmsg parsing
  linux-user: netlink: Add emulation of IP_MULTICAST_IF
  linux-user: netlink: add netlink neighbour emulation
  linux-user: netlink: Add missing QEMU_IFLA entries
  linux-user: netlink: Use QEMU_IFA_XXX values instead of IFA_XXX

 linux-user/fd-trans.c     | 169 ++++++++++++++++++++++++++++++++++++--
 linux-user/syscall.c      |  34 ++++++--
 linux-user/syscall_defs.h |   6 ++
 3 files changed, 192 insertions(+), 17 deletions(-)

-- 
2.47.0



             reply	other threads:[~2025-01-20 21:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-20 21:33 deller [this message]
2025-01-20 21:33 ` [PATCH v4 1/7] linux-user: netlink: Add missing IFA_PROTO to host_to_target_data_addr_rtattr() deller
2025-01-22 16:53   ` Laurent Vivier
2025-01-22 21:20     ` Helge Deller
2025-01-24  7:46       ` Laurent Vivier
2025-01-20 21:33 ` [PATCH v4 2/7] linux-user: Use unique error messages for cmsg parsing deller
2025-01-20 21:33 ` [PATCH v4 3/7] linux-user: netlink: Add IP_PKTINFO " deller
2025-01-20 21:33 ` [PATCH v4 4/7] linux-user: netlink: Add emulation of IP_MULTICAST_IF deller
2025-01-20 21:33 ` [PATCH v4 5/7] linux-user: netlink: add netlink neighbour emulation deller
2025-01-20 21:33 ` [PATCH v4 6/7] linux-user: netlink: Add missing QEMU_IFLA entries deller
2025-01-20 21:33 ` [PATCH v4 7/7] linux-user: netlink: Use QEMU_IFA_XXX values instead of IFA_XXX deller
2025-01-22 16:55   ` Laurent Vivier

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=20250120213340.359195-1-deller@kernel.org \
    --to=deller@kernel.org \
    --cc=deller@gmx.de \
    --cc=laurent@vivier.eu \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=stefanha@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.