No IP address is assigned to the guest network interface when starting qemu with the default -nic user and using DHCP in the guest. Fixed by reverting to net-libs/libslirp-4.3.1-r1 (although this has multiple CVEs bug 796347). Also appears to be fixed in libslirp-4.6.1: Fix DHCP regression introduced in 4.6.0. !95 https://gitlab.freedesktop.org/slirp/libslirp/compare/v4.6.0...v4.6.1
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c12ee84df0feb4f2b0d21d8048abb4796d6c459c commit c12ee84df0feb4f2b0d21d8048abb4796d6c459c Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2021-06-19 16:01:34 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2021-06-19 16:03:06 +0000 net-libs/libslirp: Bump to version 4.6.1 Closes: https://bugs.gentoo.org/796737 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Zac Medico <zmedico@gentoo.org> net-libs/libslirp/Manifest | 2 +- net-libs/libslirp/{libslirp-4.6.0.ebuild => libslirp-4.6.1.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-)
I suppose we need to stabilise it now given QEMU 6.0.0 is.
Yeah, I went ahead and bumped it with stable keywords.