]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
tests/vm: Add libslirp to the VM tests
authorThomas Huth <thuth@redhat.com>
Wed, 24 Aug 2022 15:11:18 +0000 (17:11 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 29 Aug 2022 13:28:51 +0000 (15:28 +0200)
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>
tests/vm/freebsd
tests/vm/haiku.x86_64
tests/vm/netbsd

index cd1fabde523d6166d153136852d49281aadf19e4..3643fe325d27ab4aee596ee79174e45453b5d66c 100755 (executable)
@@ -63,6 +63,9 @@ class FreeBSDVM(basevm.BaseVM):
 
         # libs: migration
         "zstd",
+
+        # libs: networking
+        "libslirp",
     ]
 
     BUILD_SCRIPT = """
index 936f7d2ae2ea2c04b7e00744b09e59420c390032..29668bc2727995046bf1272ea1e140195870e1ed 100755 (executable)
@@ -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};
     """
 
index aa883ec23c962855ab450454ea9466ca1e73e70a..da6773ff59b4b56598fe5a4a13c8f29b9172d51f 100755 (executable)
@@ -54,6 +54,9 @@ class NetBSDVM(basevm.BaseVM):
 
         # libs: migration
         "zstd",
+
+        # libs: networking
+        "libslirp",
     ]
 
     BUILD_SCRIPT = """