]> git.proxmox.com Git - mirror_qemu.git/commitdiff
tests/vm/netbsd: Disable IPv6
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 18 Oct 2019 18:17:05 +0000 (15:17 -0300)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 25 Oct 2019 18:24:21 +0000 (19:24 +0100)
Workaround for issues when the host has no IPv6 connectivity.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20191018181705.17957-4-ehabkost@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
tests/vm/netbsd

index ee9eaeab504f620aab790846ae297855b9984ffc..18aa56ae826fcdc52151ce6141bdc15c1d7168aa 100755 (executable)
@@ -28,6 +28,13 @@ class NetBSDVM(basevm.BaseVM):
         gmake --output-sync -j{jobs} {target} {verbose};
     """
 
+    # Workaround for NetBSD + IPv6 + slirp issues.
+    # NetBSD seems to ignore the ICMPv6 Destination Unreachable
+    # messages generated by slirp.  When the host has no IPv6
+    # connectivity, this causes every connection to ftp.NetBSD.org
+    # take more than a minute to be established.
+    ipv6 = False
+
     def build_image(self, img):
         cimg = self._download_with_cache("http://download.patchew.org/netbsd-7.1-amd64.img.xz",
                                          sha256sum='b633d565b0eac3d02015cd0c81440bd8a7a8df8512615ac1ee05d318be015732')