tests/vm: Add libslirp to the VM tests

We are going to remove the slirp submodule from the QEMU repository, so
we should make sure to install the distro's libslirp to get the same
test coverage as before in the VMs.

Message-Id: <20220824151122.704946-3-thuth@redhat.com>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
Thomas Huth 2022-08-24 17:11:18 +02:00
parent 94add6ee24
commit 0026be1d0f
3 changed files with 8 additions and 1 deletions

View File

@ -63,6 +63,9 @@ class FreeBSDVM(basevm.BaseVM):
# libs: migration
"zstd",
# libs: networking
"libslirp",
]
BUILD_SCRIPT = """

View File

@ -71,6 +71,7 @@ class HaikuVM(basevm.BaseVM):
"devel:libpixman_1",
"devel:libpng16",
"devel:libsdl2_2.0",
"devel:libslirp",
"devel:libsnappy",
"devel:libssh2",
"devel:libtasn1",
@ -89,7 +90,7 @@ class HaikuVM(basevm.BaseVM):
mkdir -p /usr/bin
ln -s /boot/system/bin/env /usr/bin/env
cd ../build
../src/configure --disable-slirp {configure_opts};
../src/configure {configure_opts};
make --output-sync -j{jobs} {target} {verbose};
"""

View File

@ -54,6 +54,9 @@ class NetBSDVM(basevm.BaseVM):
# libs: migration
"zstd",
# libs: networking
"libslirp",
]
BUILD_SCRIPT = """