commit | 240f398d049e754d398512ca18a3532891bf6101 | [log] [tgz] |
---|---|---|
author | Weilun Du <wdu@google.com> | Wed Apr 10 13:26:16 2024 -0400 |
committer | Weilun Du <wdu@google.com> | Wed Apr 10 23:08:39 2024 +0000 |
tree | f39650bb192ba18e853c172fb77e9b5de1ed3901 | |
parent | c933ceae798acaaeacdbba1d26ae78d46a7e4f9f [diff] |
[libslirp] Fix DNS issue on MacOS When the guest DNS address is IPv4, we should translate it to a host DNS address which is also IPv4. Previously, the function was not implemented correctly. BUG: 333564063 Change-Id: I66293e394b205f2acf10cec38d759e2dfae9ff85 Signed-off-by: Weilun Du <wdu@google.com>
libslirp is a user-mode networking library used by virtual machines, containers or various tools.
A C compiler, meson and glib2 development libraries.
(see also .gitlab-ci.yml DEPS variable for the list of dependencies on Fedora)
You may build and install the shared library with meson:
meson build ninja -C build install
And configure QEMU with --enable-slirp=system to link against it.
(QEMU may build with the submodule static library using --enable-slirp=git)
Unfortunately, there are no automated tests available.
You may run QEMU -net user
linked with your development version.
Feel free to open issues on the project issues page.
You may clone the gitlab project and create a merge request.
Contributing with gitlab allows gitlab workflow, tracking issues, running CI etc.
Alternatively, you may send patches to slirp@lists.freedesktop.org mailing list.
We intend to use libtool's versioning for the shared libraries and use SemVer for project versions.
For the versions available, see the tags on this repository.
See the COPYRIGHT file for details.