From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] qemu, host-qemu: re-enable user networking via libslirp
Date: Thu, 16 Mar 2023 15:31:33 +0100 [thread overview]
Message-ID: <20230316143133.3684114-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20230312185306.2402677-2-rhi@pengutronix.de>
Thanks, applied as 506aa4ff4a97f697fee79c457b928efaae4b8aec.
Michael
[sent from post-receive hook]
On Thu, 16 Mar 2023 15:31:33 +0100, Roland Hieber <rhi@pengutronix.de> wrote:
> In qemu 7.2, the bundled libslirp necessary for user networking was
> removed [1], and as such '-netdev user,…' parameters will no longer
> work. User networking needs no infrastructure and is therefore nice to
> have for ad-hoc virtual machines, so re-enable it by building against
> libslirp.
>
> [1]: https://wiki.qemu.org/ChangeLog/7.2#SLIRP_module_(user-mode_networking)
>
> Fixes: e3060a69c0190dfa7131 (2022-12-15, "qemu: Version bump. 7.1.0 -> 7.2.0")
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> Message-Id: <20230312185306.2402677-2-rhi@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/host-qemu.in b/rules/host-qemu.in
> index 1456d1050611..e8fa17e29a1c 100644
> --- a/rules/host-qemu.in
> +++ b/rules/host-qemu.in
> @@ -6,6 +6,7 @@ menuconfig HOST_QEMU
> prompt "host-side qemu "
> select HOST_GLIB
> select HOST_LIBCAP_NG
> + select HOST_LIBSLIRP
> select HOST_ZLIB
> select HOST_SYSTEM_PYTHON3
> select HOST_LIBUSB if HOST_QEMU_SYS
> diff --git a/rules/host-qemu.make b/rules/host-qemu.make
> index 6b0651731f2f..dcbc18df6d16 100644
> --- a/rules/host-qemu.make
> +++ b/rules/host-qemu.make
> @@ -120,6 +120,7 @@ HOST_QEMU_CONF_OPT := \
> --disable-sdl-image \
> --disable-seccomp \
> --disable-selinux \
> + --enable-slirp \
> --disable-smartcard \
> --disable-snappy \
> --disable-sparse \
> diff --git a/rules/qemu.in b/rules/qemu.in
> index 30f1cc2f5989..6524013e6e69 100644
> --- a/rules/qemu.in
> +++ b/rules/qemu.in
> @@ -9,6 +9,7 @@ menuconfig QEMU
> select GCCLIBS_CXX
> select GLIB
> select LIBCAP_NG
> + select LIBSLIRP
> select ZLIB
> select SDL2 if QEMU_SDL
> select GTK if QEMU_GTK
> diff --git a/rules/qemu.make b/rules/qemu.make
> index 79be513c666d..813bef742e2c 100644
> --- a/rules/qemu.make
> +++ b/rules/qemu.make
> @@ -118,6 +118,7 @@ QEMU_CONF_OPT := \
> --disable-sdl-image \
> --disable-seccomp \
> --disable-selinux \
> + --enable-slirp \
> --disable-smartcard \
> --disable-snappy \
> --disable-sparse \
next prev parent reply other threads:[~2023-03-16 14:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-12 18:53 [ptxdist] [PATCH 1/2] libslirp: new package: user-mode networking library used by qemu Roland Hieber
2023-03-12 18:53 ` [ptxdist] [PATCH 2/2] qemu, host-qemu: re-enable user networking via libslirp Roland Hieber
2023-03-16 14:31 ` Michael Olbrich [this message]
2023-03-16 14:31 ` [ptxdist] [APPLIED] libslirp: new package: user-mode networking library used by qemu Michael Olbrich
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=20230316143133.3684114-1-m.olbrich@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=ptxdist@pengutronix.de \
--cc=rhi@pengutronix.de \
/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