Commit 16dff85459 for qemu.org

commit 16dff85459b3156a6e24f3e0227f14d4986bd8ba
Author: Thomas Huth <thuth@redhat.com>
Date:   Fri Nov 6 07:31:03 2026 +0100

    tests/lcitool: Switch to a newer version of netmap and check it out faster

    Netmap v11.3 is from 2017, so this is way older than the oldest version
    of other features that we support in QEMU. The newest tagged version is
    v13.0 which is from 2019 - still old, but at least it's the newest one
    with a version number, so let's use that instead.

    While we're at it, also make sure to check out only the revision that we
    need, so we don't waste bandwidth by downloading the whole repository here.

    Signed-off-by: Thomas Huth <thuth@redhat.com>
    Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
    Link: https://lore.kernel.org/qemu-devel/20261106063103.21061-1-thuth@redhat.com
    Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>

diff --git a/tests/docker/dockerfiles/debian.docker b/tests/docker/dockerfiles/debian.docker
index ce591feec2..aeed90523c 100644
--- a/tests/docker/dockerfiles/debian.docker
+++ b/tests/docker/dockerfiles/debian.docker
@@ -161,8 +161,8 @@ RUN apt update && \
   cscope\
   global\
   linux-headers-generic
-RUN git clone https://github.com/luigirizzo/netmap.git /usr/src/netmap
-RUN cd /usr/src/netmap && git checkout v11.3
+RUN git clone -cadvice.detachedHead=false --branch=v13.0 --depth=1 \
+              https://github.com/luigirizzo/netmap.git /usr/src/netmap
 RUN cd /usr/src/netmap/LINUX && \
   ./configure --no-drivers --no-apps \
   --kernel-dir=$(ls -d /usr/src/linux-headers-*-$(dpkg --print-architecture)) \
diff --git a/tests/lcitool/refresh b/tests/lcitool/refresh
index 075acb82e1..57593e6ded 100755
--- a/tests/lcitool/refresh
+++ b/tests/lcitool/refresh
@@ -117,8 +117,8 @@ RUN apt update && \
   cscope\
   global\
   linux-headers-generic
-RUN git clone https://github.com/luigirizzo/netmap.git /usr/src/netmap
-RUN cd /usr/src/netmap && git checkout v11.3
+RUN git clone -cadvice.detachedHead=false --branch=v13.0 --depth=1 \
+              https://github.com/luigirizzo/netmap.git /usr/src/netmap
 RUN cd /usr/src/netmap/LINUX && \
   ./configure --no-drivers --no-apps \
   --kernel-dir=$(ls -d /usr/src/linux-headers-*-$(dpkg --print-architecture)) \