From nobody Mon May 20 02:17:47 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1600425393; cv=none; d=zohomail.com; s=zohoarc; b=b6e1JHMODIrwhRllgjp2db2+oqZc4syAFRhht4KDKMKulwoBTuPQ278TkC3WTJClyoi/nHo3b6aTjBLYy9WrAQLeJawhnnSfNh+oIgIW8IQsuGy1zqM4PiwguOITGHP2Ma7EverHnoS9QxodjM64NaHYazOBdq5VbAPiBRmluSw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600425393; h=Content-Type:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=qT6Li75uvxZeJ8KC7IVApxYxhxtkik0Szgg6LPg9L4A=; b=VwHhHaHIUP9UVtZhNdQh9gGR0gxy/27oirFieZdaXzjG/bLpXq9Oo7QYaL6aGYmyrbi1WpWAdu14XgLNxeXbm9Irw+wg4DE64GvfcIfwb0jEb9KgNxTBgVME4tJ+c2q5Gfujipl58De6FAAw6npyb+9UlyBcS2qCkNIeqBSJoM4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1600425393816932.4769639389093; Fri, 18 Sep 2020 03:36:33 -0700 (PDT) Received: from localhost ([::1]:35838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJDkm-0003tc-Gc for importer@patchew.org; Fri, 18 Sep 2020 06:36:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJDj0-0001wC-7v for qemu-devel@nongnu.org; Fri, 18 Sep 2020 06:34:42 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:31832) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kJDiy-0005BG-8v for qemu-devel@nongnu.org; Fri, 18 Sep 2020 06:34:41 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-61-JRRKplsUMRy2fU4C1uR4_Q-1; Fri, 18 Sep 2020 06:34:37 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 41A45188C12D; Fri, 18 Sep 2020 10:34:36 +0000 (UTC) Received: from thuth.com (ovpn-112-53.ams2.redhat.com [10.36.112.53]) by smtp.corp.redhat.com (Postfix) with ESMTP id 835BE60BEC; Fri, 18 Sep 2020 10:34:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600425279; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:content-type:content-type:in-reply-to:in-reply-to: references:references; bh=qT6Li75uvxZeJ8KC7IVApxYxhxtkik0Szgg6LPg9L4A=; b=HNFmSaKj+faIZpsC3UoZHA9SKaCXC1cEpEF7LIW60ESvLjb6eqgsIwQUkRRH4DV1Pz27CP /cbCSTcItjilYeV7unDCPMPLBG9d4eGdq69lTzeDE6TkzJ78FEtRTdfV7MIqzgTvXa0lVd CPC5uVjgLzqmhxvoL+g/PcmDS17gVBc= X-MC-Unique: JRRKplsUMRy2fU4C1uR4_Q-1 From: Thomas Huth To: =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Subject: [PATCH 1/6] meson: move libudev test Date: Fri, 18 Sep 2020 12:34:25 +0200 Message-Id: <20200918103430.297167-2-thuth@redhat.com> In-Reply-To: <20200918103430.297167-1-thuth@redhat.com> References: <20200918103430.297167-1-thuth@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=thuth@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=216.205.24.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/18 01:32:10 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -50 X-Spam_score: -5.1 X-Spam_bar: ----- X-Spam_report: (-5.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.997, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Markus Armbruster Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Paolo Bonzini Signed-off-by: Paolo Bonzini Message-Id: <20200916162621.100141-2-pbonzini@redhat.com> Signed-off-by: Thomas Huth --- configure | 14 -------------- meson.build | 7 ++++--- 2 files changed, 4 insertions(+), 17 deletions(-) diff --git a/configure b/configure index 7564479008..d8bd6829b3 100755 --- a/configure +++ b/configure @@ -908,7 +908,6 @@ Linux) linux_user=3D"yes" kvm=3D"yes" QEMU_INCLUDES=3D"-isystem ${source_path}/linux-headers -Ilinux-headers $= QEMU_INCLUDES" - libudev=3D"yes" ;; esac =20 @@ -6283,15 +6282,6 @@ if test "$libnfs" !=3D "no" ; then fi =20 ########################################## -# Do we have libudev -if test "$libudev" !=3D "no" ; then - if $pkg_config libudev && test "$static" !=3D "yes"; then - libudev=3D"yes" - libudev_libs=3D$($pkg_config --libs libudev) - else - libudev=3D"no" - fi -fi =20 # Exclude --warn-common with TSan to suppress warnings from the TSan libra= ries. if test "$solaris" =3D "no" && test "$tsan" =3D "no"; then @@ -7460,10 +7450,6 @@ if test "$gcov" =3D "yes" ; then echo "CONFIG_GCOV=3Dy" >> $config_host_mak fi =20 -if test "$libudev" !=3D "no"; then - echo "CONFIG_LIBUDEV=3Dy" >> $config_host_mak - echo "LIBUDEV_LIBS=3D$libudev_libs" >> $config_host_mak -fi if test "$fuzzing" !=3D "no"; then echo "CONFIG_FUZZ=3Dy" >> $config_host_mak fi diff --git a/meson.build b/meson.build index f4d1ab1096..4872498897 100644 --- a/meson.build +++ b/meson.build @@ -252,8 +252,8 @@ if 'CONFIG_CURL' in config_host link_args: config_host['CURL_LIBS'].split()) endif libudev =3D not_found -if 'CONFIG_LIBUDEV' in config_host - libudev =3D declare_dependency(link_args: config_host['LIBUDEV_LIBS'].sp= lit()) +if target_os =3D=3D 'linux' + libudev =3D dependency('libudev', static: enable_static) endif brlapi =3D not_found if 'CONFIG_BRLAPI' in config_host @@ -435,6 +435,7 @@ has_gettid =3D cc.has_function('gettid') =20 # Create config-host.h =20 +config_host_data.set('CONFIG_LIBUDEV', libudev.found()) config_host_data.set('CONFIG_SDL', sdl.found()) config_host_data.set('CONFIG_SDL_IMAGE', sdl_image.found()) config_host_data.set('CONFIG_VNC', vnc.found()) @@ -1515,7 +1516,7 @@ summary_info +=3D {'sheepdog support': config_host.h= as_key('CONFIG_SHEEPDOG')} summary_info +=3D {'capstone': config_host.has_key('CONFIG_CAPSTO= NE')} summary_info +=3D {'libpmem support': config_host.has_key('CONFIG_LIBPME= M')} summary_info +=3D {'libdaxctl support': config_host.has_key('CONFIG_LIBDAX= CTL')} -summary_info +=3D {'libudev': config_host.has_key('CONFIG_LIBUDE= V')} +summary_info +=3D {'libudev': libudev.found()} summary_info +=3D {'default devices': config_host['CONFIG_MINIKCONF_MODE= '] =3D=3D '--defconfig'} summary_info +=3D {'plugin support': config_host.has_key('CONFIG_PLUGIN= ')} summary_info +=3D {'fuzzing support': config_host.has_key('CONFIG_FUZZ')} --=20 2.18.2 From nobody Mon May 20 02:17:47 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1600425575; cv=none; d=zohomail.com; s=zohoarc; b=G5VmUyz+OYhhmFpeDiOBG0gkNMU7UBdpsn1lU2pE2IORhfJfvOv214OCvadakUc/jdge9jx3D3X+3OR29EJYzBoCulhp4Oh7B3TBEHFyb32UjU6RyKH9C1LjNEDp7YErNMeft/QqZNXVqbg5WISP5mZe1oOGsui0SRTyfxsdnSM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600425575; h=Content-Type:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=l8xsYRMIJIJ4m0Wt8HkaSObhML2H8Bi0LBSCXpQJyHI=; b=m6vBhwB33IXWNRjK+lksDA8KCc9rhYT79Qjyu61OmMp7Wk2e4Ecq9X0/xopGhadOtyQFwE8K2x2CSV1C3eJ467qdfZG6t/DAIR6tXLa3rMGKGlSCAc2K/uuCi2tH0QW1MALDWaY8gXCXlv4pvmG0PUwBhvJJzMLAVgK6Yyi5xvg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1600425575768840.7215457192029; Fri, 18 Sep 2020 03:39:35 -0700 (PDT) Received: from localhost ([::1]:42286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJDnh-0006Zn-TE for importer@patchew.org; Fri, 18 Sep 2020 06:39:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34176) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJDj6-00024h-81 for qemu-devel@nongnu.org; Fri, 18 Sep 2020 06:34:49 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:50862 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kJDj3-0005Bz-GQ for qemu-devel@nongnu.org; Fri, 18 Sep 2020 06:34:47 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-311-dt5s5lg2OJCIL5ZmvAh16A-1; Fri, 18 Sep 2020 06:34:42 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5065F1084C93; Fri, 18 Sep 2020 10:34:41 +0000 (UTC) Received: from thuth.com (ovpn-112-53.ams2.redhat.com [10.36.112.53]) by smtp.corp.redhat.com (Postfix) with ESMTP id BE0146198D; Fri, 18 Sep 2020 10:34:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600425284; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:content-type:content-type:in-reply-to:in-reply-to: references:references; bh=l8xsYRMIJIJ4m0Wt8HkaSObhML2H8Bi0LBSCXpQJyHI=; b=IqUYh7e+vhvjh2wb1o2dFA/TDBjElMQDZcEeLXKxUaB8eFiNmtpxC0M4LdP48LUCE+tat5 +z7FuDWvqHks0jbbGmtu2i7O88aty6b55RmzjOUP4tYtKBCwq2uWR99/VKBWoLE9pAEzo1 7qnLfXz+roGy1PO7j4j3/Btp0sV4pz4= X-MC-Unique: dt5s5lg2OJCIL5ZmvAh16A-1 From: Thomas Huth To: =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Subject: [PATCH 2/6] meson: move libmpathpersist test Date: Fri, 18 Sep 2020 12:34:26 +0200 Message-Id: <20200918103430.297167-3-thuth@redhat.com> In-Reply-To: <20200918103430.297167-1-thuth@redhat.com> References: <20200918103430.297167-1-thuth@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=thuth@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=207.211.31.120; envelope-from=thuth@redhat.com; helo=us-smtp-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/18 03:47:33 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -50 X-Spam_score: -5.1 X-Spam_bar: ----- X-Spam_report: (-5.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.997, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Markus Armbruster Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Paolo Bonzini This is the first compiler/linker test that has been moved to Meson. Add more section headings to keep things clearer. Signed-off-by: Paolo Bonzini [thuth: Add check for mpathpersist.found() before showing mpathpersist_new_= api] Signed-off-by: Thomas Huth --- configure | 77 +++----------------------------------------- meson.build | 82 ++++++++++++++++++++++++++++++++++++++++++----- meson_options.txt | 2 ++ 3 files changed, 80 insertions(+), 81 deletions(-) diff --git a/configure b/configure index d8bd6829b3..df36ce6ab8 100755 --- a/configure +++ b/configure @@ -403,7 +403,7 @@ netmap=3D"no" sdl=3D"auto" sdl_image=3D"auto" virtfs=3D"" -mpath=3D"" +mpath=3D"auto" vnc=3D"enabled" sparse=3D"no" vde=3D"" @@ -1116,9 +1116,9 @@ for opt do ;; --enable-virtfs) virtfs=3D"yes" ;; - --disable-mpath) mpath=3D"no" + --disable-mpath) mpath=3D"disabled" ;; - --enable-mpath) mpath=3D"yes" + --enable-mpath) mpath=3D"enabled" ;; --disable-vnc) vnc=3D"disabled" ;; @@ -3848,57 +3848,6 @@ if test "$modules" =3D yes; then fi fi =20 -########################################## -# libmpathpersist probe - -if test "$mpath" !=3D "no" ; then - # probe for the new API - cat > $TMPC < -#include -unsigned mpath_mx_alloc_len =3D 1024; -int logsink; -static struct config *multipath_conf; -extern struct udev *udev; -extern struct config *get_multipath_config(void); -extern void put_multipath_config(struct config *conf); -struct udev *udev; -struct config *get_multipath_config(void) { return multipath_conf; } -void put_multipath_config(struct config *conf) { } - -int main(void) { - udev =3D udev_new(); - multipath_conf =3D mpath_lib_init(); - return 0; -} -EOF - if compile_prog "" "-ludev -lmultipath -lmpathpersist" ; then - mpathpersist=3Dyes - mpathpersist_new_api=3Dyes - else - # probe for the old API - cat > $TMPC < -#include -unsigned mpath_mx_alloc_len =3D 1024; -int logsink; -int main(void) { - struct udev *udev =3D udev_new(); - mpath_lib_init(udev); - return 0; -} -EOF - if compile_prog "" "-ludev -lmultipath -lmpathpersist" ; then - mpathpersist=3Dyes - mpathpersist_new_api=3Dno - else - mpathpersist=3Dno - fi - fi -else - mpathpersist=3Dno -fi - ########################################## # pthread probe PTHREADLIBS_LIST=3D"-pthread -lpthread -lpthreadGC2" @@ -6340,23 +6289,11 @@ if test "$softmmu" =3D yes ; then fi virtfs=3Dno fi - if test "$mpath" !=3D no && test "$mpathpersist" =3D yes ; then - mpath=3Dyes - else - if test "$mpath" =3D yes; then - error_exit "Multipath requires libmpathpersist devel" - fi - mpath=3Dno - fi else if test "$virtfs" =3D yes; then error_exit "VirtFS is supported only on Linux" fi virtfs=3Dno - if test "$mpath" =3D yes; then - error_exit "Multipath is supported only on Linux" - fi - mpath=3Dno fi fi =20 @@ -6897,12 +6834,6 @@ fi if test "$virtfs" =3D "yes" ; then echo "CONFIG_VIRTFS=3Dy" >> $config_host_mak fi -if test "$mpath" =3D "yes" ; then - echo "CONFIG_MPATH=3Dy" >> $config_host_mak - if test "$mpathpersist_new_api" =3D "yes"; then - echo "CONFIG_MPATH_NEW_API=3Dy" >> $config_host_mak - fi -fi if test "$vhost_scsi" =3D "yes" ; then echo "CONFIG_VHOST_SCSI=3Dy" >> $config_host_mak fi @@ -7992,7 +7923,7 @@ NINJA=3D${ninja:-$PWD/ninjatool} $meson setup \ -Dstrip=3D$(if test "$strip_opt" =3D yes; then echo true; else ech= o false; fi) \ -Db_pie=3D$(if test "$pie" =3D yes; then echo true; else echo fals= e; fi) \ -Db_coverage=3D$(if test "$gcov" =3D yes; then echo true; else ech= o false; fi) \ - -Dsdl=3D$sdl -Dsdl_image=3D$sdl_image \ + -Dmpath=3D$mpath -Dsdl=3D$sdl -Dsdl_image=3D$sdl_image \ -Dvnc=3D$vnc -Dvnc_sasl=3D$vnc_sasl -Dvnc_jpeg=3D$vnc_jpeg -Dvnc_png=3D$v= nc_png \ -Dgettext=3D$gettext -Dxkbcommon=3D$xkbcommon -Du2f=3D$u2f\ $cross_arg \ diff --git a/meson.build b/meson.build index 4872498897..c09d869f9b 100644 --- a/meson.build +++ b/meson.build @@ -81,6 +81,14 @@ if 'SPARSE_CFLAGS' in config_host 'compile_commands.json']) endif =20 +########################################### +# Target-specific checks and dependencies # +########################################### + +if targetos !=3D 'linux' and get_option('mpath').enabled() + error('Multipath is supported only on Linux') +endif + m =3D cc.find_library('m', required: false) util =3D cc.find_library('util', required: false) winmm =3D [] @@ -112,6 +120,11 @@ elif targetos =3D=3D 'haiku' cc.find_library('network'), cc.find_library('bsd')] endif + +################ +# Dependencies # +################ + # The path to glib.h is added to all compilation commands. This was # grandfathered in from the QEMU Makefiles. add_project_arguments(config_host['GLIB_CFLAGS'].split(), @@ -218,10 +231,6 @@ if 'CONFIG_SPICE' in config_host link_args: config_host['SPICE_LIBS'].split()) endif rt =3D cc.find_library('rt', required: false) -libmpathpersist =3D not_found -if config_host.has_key('CONFIG_MPATH') - libmpathpersist =3D cc.find_library('mpathpersist') -endif libdl =3D not_found if 'CONFIG_PLUGIN' in config_host libdl =3D cc.find_library('dl', required: true) @@ -252,9 +261,62 @@ if 'CONFIG_CURL' in config_host link_args: config_host['CURL_LIBS'].split()) endif libudev =3D not_found -if target_os =3D=3D 'linux' - libudev =3D dependency('libudev', static: enable_static) +if targetos =3D=3D 'linux' + libudev =3D dependency('libudev', + required: get_option('mpath'), + static: enable_static) +endif + +mpathpersist =3D not_found +if targetos =3D=3D 'linux' and not get_option('mpath').disabled() + libmultipath =3D cc.find_library('multipath', + required: get_option('mpath'), + static: enable_static) + libmpathpersist =3D cc.find_library('mpathpersist', + required: get_option('mpath'), + static: enable_static) + if libmultipath.found() and libmpathpersist.found() and libudev.found() + if cc.links(''' + #include + #include + unsigned mpath_mx_alloc_len =3D 1024; + int logsink; + static struct config *multipath_conf; + extern struct udev *udev; + extern struct config *get_multipath_config(void); + extern void put_multipath_config(struct config *conf); + struct udev *udev; + struct config *get_multipath_config(void) { return multipath_conf; } + void put_multipath_config(struct config *conf) { } + int main(void) { + udev =3D udev_new(); + multipath_conf =3D mpath_lib_init(); + return 0; + }''', dependencies: [libmultipath, libmpathpersist, libudev]) + mpathpersist =3D declare_dependency(dependencies: [libmultipath, lib= mpathpersist, libudev]) + mpathpersist_new_api =3D true + elif cc.links(''' + #include + #include + unsigned mpath_mx_alloc_len =3D 1024; + int logsink; + int main(void) { + struct udev *udev =3D udev_new(); + mpath_lib_init(udev); + return 0; + }''', dependencies: [libmultipath, libmpathpersist, libudev]) + mpathpersist =3D declare_dependency(dependencies: [libmultipath, lib= mpathpersist, libudev]) + mpathpersist_new_api =3D false + else + if get_option('mpath').enabled() + error('Cannot detect libmpathpersist API') + else + warning('Cannot detect libmpathpersist API, disabling') + endif + endif + endif endif + brlapi =3D not_found if 'CONFIG_BRLAPI' in config_host brlapi =3D declare_dependency(link_args: config_host['BRLAPI_LIBS'].spli= t()) @@ -436,6 +498,10 @@ has_gettid =3D cc.has_function('gettid') # Create config-host.h =20 config_host_data.set('CONFIG_LIBUDEV', libudev.found()) +config_host_data.set('CONFIG_MPATH', mpathpersist.found()) +if mpathpersist.found() + config_host_data.set('CONFIG_MPATH_NEW_API', mpathpersist_new_api) +endif config_host_data.set('CONFIG_SDL', sdl.found()) config_host_data.set('CONFIG_SDL_IMAGE', sdl_image.found()) config_host_data.set('CONFIG_VNC', vnc.found()) @@ -1185,7 +1251,7 @@ if have_tools =20 executable('qemu-pr-helper', files('scsi/qemu-pr-helper.c', 'scsi/util= s.c'), dependencies: [authz, crypto, io, qom, qemuutil, - libcap_ng, libudev, libmpathpersist], + libcap_ng, mpathpersist], install: true) endif =20 @@ -1407,7 +1473,7 @@ summary_info +=3D {'Audio drivers': config_host['= CONFIG_AUDIO_DRIVERS']} summary_info +=3D {'Block whitelist (rw)': config_host['CONFIG_BDRV_RW_WHI= TELIST']} summary_info +=3D {'Block whitelist (ro)': config_host['CONFIG_BDRV_RO_WHI= TELIST']} summary_info +=3D {'VirtFS support': config_host.has_key('CONFIG_VIRTFS= ')} -summary_info +=3D {'Multipath support': config_host.has_key('CONFIG_MPATH'= )} +summary_info +=3D {'Multipath support': mpathpersist.found()} summary_info +=3D {'VNC support': vnc.found()} if vnc.found() summary_info +=3D {'VNC SASL support': sasl.found()} diff --git a/meson_options.txt b/meson_options.txt index 543cf70043..b38a6ae92a 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -6,6 +6,8 @@ option('docdir', type : 'string', value : 'doc', option('gettext', type : 'boolean', value : true, description: 'Localization of the GTK+ user interface') =20 +option('mpath', type : 'feature', value : 'auto', + description: 'Multipath persistent reservation passthrough') option('sdl', type : 'feature', value : 'auto', description: 'SDL user interface') option('sdl_image', type : 'feature', value : 'auto', --=20 2.18.2 From nobody Mon May 20 02:17:47 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1600425498; cv=none; d=zohomail.com; s=zohoarc; b=bPTYogv7MOkMGd61VkwfIj5VECID3geLmag78sc7IvG7EXI2+5ZcvcMXDGg6ghcetwB/aOxEBxTHjZAsPwLWf3YwXHpvxJ88geFP4lh4Lb2hTKujzRL6umOLnqntNA1GgsaoWGKmMKUMyoiexPRTQW4nBS30QHp4JK7pmsnYa4k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600425498; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=XVUCVNO4APeMaNsoKSKvJekSTv+7JAP5Fuqg/doiR1U=; b=PrYGw6dD9HjyqfbOHz5z7wd4yRofpo4DH2rtAKfxyhifR+UeUW+1ewblcRUFmAwz4RIHcT660bpqziMq7vg0j2HjRfmhRYn/1IfrtsV1Gszm/EPJOzwLKRwo390Dar9rxqDfxSbAPtTLe1dvcGCEjqT4PPPId9leuiGCqeLmKM8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 160042549842557.91595082755691; Fri, 18 Sep 2020 03:38:18 -0700 (PDT) Received: from localhost ([::1]:40030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJDmT-0005cx-6P for importer@patchew.org; Fri, 18 Sep 2020 06:38:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJDj7-00025i-Rf for qemu-devel@nongnu.org; Fri, 18 Sep 2020 06:34:49 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:34064) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kJDj5-0005CI-07 for qemu-devel@nongnu.org; Fri, 18 Sep 2020 06:34:49 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-450-R7NwxjSuPSiaN-K5fa1uZw-1; Fri, 18 Sep 2020 06:34:44 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3B8F9188C12D; Fri, 18 Sep 2020 10:34:43 +0000 (UTC) Received: from thuth.com (ovpn-112-53.ams2.redhat.com [10.36.112.53]) by smtp.corp.redhat.com (Postfix) with ESMTP id C23166198C; Fri, 18 Sep 2020 10:34:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600425286; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XVUCVNO4APeMaNsoKSKvJekSTv+7JAP5Fuqg/doiR1U=; b=ii6A64mS/fC7hSSxmfWfIl1++n8D82K1OLIQsukUPbmeC0SwNiYWYz4HlVnoKR6TimmYxm IPaLUeCu593waY0rcQTP0S0RHl2Bf22KH43DvaozDdGH34ug5Mxjp8iSAsVyslOn3+fQRC 1lh12QUktKI2CMGHD42j3VcMCCd7GUA= X-MC-Unique: R7NwxjSuPSiaN-K5fa1uZw-1 From: Thomas Huth To: =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Subject: [PATCH 3/6] migration: Silence compiler warning in global_state_store_running() Date: Fri, 18 Sep 2020 12:34:27 +0200 Message-Id: <20200918103430.297167-4-thuth@redhat.com> In-Reply-To: <20200918103430.297167-1-thuth@redhat.com> References: <20200918103430.297167-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=thuth@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=63.128.21.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/18 00:20:40 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -50 X-Spam_score: -5.1 X-Spam_bar: ----- X-Spam_report: (-5.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.997, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Markus Armbruster Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) GCC 9.3.0 on Ubuntu complains: In file included from /usr/include/string.h:495, from /home/travis/build/huth/qemu/include/qemu/osdep.h:87, from ../migration/global_state.c:13: In function =E2=80=98strncpy=E2=80=99, inlined from =E2=80=98global_state_store_running=E2=80=99 at ../migrati= on/global_state.c:47:5: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: =E2=80=98__builtin_strncpy=E2=80=99 specified bound 100 equals destination= size [-Werror=3Dstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__de= st)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~ ... but we apparently really want to do a strncpy here - the size is already checked with the assert() statement right in front of it. To silence the warning, simply replace it with our strpadcpy() function. Suggested-by: Philippe Mathieu-Daud=C3=A9 (two years ag= o) Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Thomas Huth --- migration/global_state.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migration/global_state.c b/migration/global_state.c index 25311479a4..a33947ca32 100644 --- a/migration/global_state.c +++ b/migration/global_state.c @@ -44,8 +44,8 @@ void global_state_store_running(void) { const char *state =3D RunState_str(RUN_STATE_RUNNING); assert(strlen(state) < sizeof(global_state.runstate)); - strncpy((char *)global_state.runstate, - state, sizeof(global_state.runstate)); + strpadcpy((char *)global_state.runstate, sizeof(global_state.runstate), + state, '\0'); } =20 bool global_state_received(void) --=20 2.18.2 From nobody Mon May 20 02:17:47 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1600425678; cv=none; d=zohomail.com; s=zohoarc; b=baY0y7Kz1iRiKiuLLYahW/BZjCyYfF56njTQ2qAado1/grrTNfhbzIFILY5ZIWLKtQWRRuCm9KfBuC4sS7OGw0UNN9RxFqKvim+/X10w82eo2bwVOmkFGLHTOusMrvi4XrB2OyiYLIqeALA7x1HCnTBV7JF1nrxXPBGkkwNNszw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600425678; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=2IoJkg+kP5sX6VTlmD7njXXu8i6+0nbOqNOoc2rm+NI=; b=lnYIchmnjCepbiojfZ2cZcu4SJRfXNo0Bl7gFPlHhEehUDC/8DOStNRFPSiSSXhh+f0ys7U2vS1RRMSvBNtDB2mDrWu6FfJMDZ68N/m6agXXOJBiXeBUKwrEgc5IkyyWvcS48B2uYXdegvCO69nI/ZPn5MSmLbQ3qPetg2oXwrs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1600425678390852.1487589182898; Fri, 18 Sep 2020 03:41:18 -0700 (PDT) Received: from localhost ([::1]:44520 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJDpN-0007bm-6F for importer@patchew.org; Fri, 18 Sep 2020 06:41:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJDjB-00027h-AQ for qemu-devel@nongnu.org; Fri, 18 Sep 2020 06:34:53 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:55152 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kJDj9-0005Cs-FW for qemu-devel@nongnu.org; Fri, 18 Sep 2020 06:34:53 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-506-i6rMKuARPqCBC3x43gss6Q-1; Fri, 18 Sep 2020 06:34:48 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4DCFA84E241; Fri, 18 Sep 2020 10:34:47 +0000 (UTC) Received: from thuth.com (ovpn-112-53.ams2.redhat.com [10.36.112.53]) by smtp.corp.redhat.com (Postfix) with ESMTP id 994EB619C4; Fri, 18 Sep 2020 10:34:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600425289; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2IoJkg+kP5sX6VTlmD7njXXu8i6+0nbOqNOoc2rm+NI=; b=cp8Xw6ilHiAnUwj4sEiCjPV6S8LlGf7YoXZ99j5wDxh2BPYXu4NUgyMj/doaEmhsLrqECA wQEu8RZxsUxSORGuQZKXpZ4rleI5D7VtgHlk+3/awYQH9xRaUkTOfcfh5a7S/Q/W5HRTS5 4tzcWe3JYyrz7fUXZAHg4RB/e2jJYnA= X-MC-Unique: i6rMKuARPqCBC3x43gss6Q-1 From: Thomas Huth To: =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Subject: [PATCH 4/6] travis.yml: Drop the default softmmu builds Date: Fri, 18 Sep 2020 12:34:28 +0200 Message-Id: <20200918103430.297167-5-thuth@redhat.com> In-Reply-To: <20200918103430.297167-1-thuth@redhat.com> References: <20200918103430.297167-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=thuth@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=205.139.110.61; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/18 05:23:37 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -50 X-Spam_score: -5.1 X-Spam_bar: ----- X-Spam_report: (-5.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.997, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Markus Armbruster Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) The total runtime of all Travis jobs is very long and we are testing all softmmu targets in the gitlab-CI already - so we can speed up the Travis testing a little bit by not testing the softmmu targets here anymore. Reviewed-by: Daniel P. Berrang=C3=A9 Acked-by: Alex Benn=C3=A9e Acked-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Thomas Huth Reviewed-by: Cleber Rosa --- .travis.yml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index c75221dca3..1fc49b0746 100644 --- a/.travis.yml +++ b/.travis.yml @@ -123,20 +123,6 @@ jobs: - CONFIG=3D"--disable-system --static" - CACHE_NAME=3D"${TRAVIS_BRANCH}-linux-gcc-default" =20 - - # we split the system builds as it takes a while to build them all - - name: "GCC (main-softmmu)" - env: - - CONFIG=3D"--disable-user --target-list=3D${MAIN_SOFTMMU_TARGETS}" - - CACHE_NAME=3D"${TRAVIS_BRANCH}-linux-gcc-default" - - - - name: "GCC (other-softmmu)" - env: - - CONFIG=3D"--disable-user --target-list-exclude=3D${MAIN_SOFTMMU_T= ARGETS}" - - CACHE_NAME=3D"${TRAVIS_BRANCH}-linux-gcc-default" - - # Just build tools and run minimal unit and softfloat checks - name: "GCC check-unit and check-softfloat" env: --=20 2.18.2 From nobody Mon May 20 02:17:47 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1600425372; cv=none; d=zohomail.com; s=zohoarc; b=DLH1UFKplnPZjKZ3D45VNVPytVEV9+g7F/ewDf17Qn5PJ7SGg7Eyxz6Oq73enyYQMd+VQq9DV+q9m54Or3VTb5VsMIV3dhMam1K5MOpZsxY4fkXEbWoXlxd91i+/r/Doe1y1bYsfpYS+xTgQg81mfQ+Ts8JNDWcQnF7RPcUKQDk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600425372; h=Content-Type:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=owl/ukAiPzP/CsZ0hLxOSFod22bRLRctTSLkllPtypM=; b=WlFa4R5xSI80+Rnok5nozjQ3kpYEjeJvstDy0QW+xjk6FJJmcqqvNcQd5LVrkAI8MpDMENezIn+MsCmX07fSAKGjKDDKer71MMr6M690MC9JGzTkbK/UUVKbNQNOsrHe9UZIjmgQmxEREgXyynnRyP6Lazcm+XYKThPYPluMnyU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 160042537216724.36696356313189; Fri, 18 Sep 2020 03:36:12 -0700 (PDT) Received: from localhost ([::1]:35170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJDkQ-0003bX-Tc for importer@patchew.org; Fri, 18 Sep 2020 06:36:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJDjC-00028t-2p for qemu-devel@nongnu.org; Fri, 18 Sep 2020 06:34:54 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:26511) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kJDjA-0005D9-3X for qemu-devel@nongnu.org; Fri, 18 Sep 2020 06:34:53 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-14-nVM-IDgVN2i08frel4FHAg-1; Fri, 18 Sep 2020 06:34:49 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E9D6C64142; Fri, 18 Sep 2020 10:34:48 +0000 (UTC) Received: from thuth.com (ovpn-112-53.ams2.redhat.com [10.36.112.53]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9AD5760BEC; Fri, 18 Sep 2020 10:34:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600425291; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:content-type:content-type:in-reply-to:in-reply-to: references:references; bh=owl/ukAiPzP/CsZ0hLxOSFod22bRLRctTSLkllPtypM=; b=a/YHi5X1cvoDxgF5SsOWlKOaoi+7ZDIeR+1LpkVfbuYLN58tjQlaNu9RK7SWtBW48penRs f+zVWKs5+EXHqT8OZX2oBh1h0ZKNOCOouSc6CFVkk+Pl8g80sklTD40tKf/zfZy/HPIZLK gpYChI+25XUx0GNcwK0Dr7Ee1WKGTYw= X-MC-Unique: nVM-IDgVN2i08frel4FHAg-1 From: Thomas Huth To: =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Subject: [PATCH 5/6] travis.yml: Update Travis to use Bionic and Focal instead of Xenial Date: Fri, 18 Sep 2020 12:34:29 +0200 Message-Id: <20200918103430.297167-6-thuth@redhat.com> In-Reply-To: <20200918103430.297167-1-thuth@redhat.com> References: <20200918103430.297167-1-thuth@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=thuth@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=63.128.21.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/18 00:20:40 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -50 X-Spam_score: -5.1 X-Spam_bar: ----- X-Spam_report: (-5.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.997, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Markus Armbruster Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" According to our support policy, we do not support Xenial anymore. Time to switch the bigger parts of the builds to Focal instead. Some few jobs have to be updated to Bionic instead, since they are currently still failing on Focal otherwise. Also "--disable-pie" is causing linker problems with newer versions of Ubuntu ... so remove that switch from the jobs now (we still test it in a gitlab CI job, so we don't lose much test coverage here). Signed-off-by: Thomas Huth Reviewed-by: Cleber Rosa Tested-by: Cleber Rosa --- .travis.yml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1fc49b0746..80da4ebc8e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ # Additional builds with specific requirements for a full VM need to # be added as additional matrix: entries later on os: linux -dist: xenial +dist: focal language: c compiler: - gcc @@ -10,7 +10,7 @@ cache: # There is one cache per branch and compiler version. # characteristics of each job are used to identify the cache: # - OS name (currently only linux) - # - OS distribution (for Linux, xenial, trusty, or precise) + # - OS distribution (for Linux, bionic or focal) # - Names and values of visible environment variables set in .travis.yml= or Settings panel timeout: 1200 ccache: true @@ -27,7 +27,7 @@ addons: - libattr1-dev - libbrlapi-dev - libcap-ng-dev - - libgcc-4.8-dev + - libgcc-7-dev - libgnutls28-dev - libgtk-3-dev - libiscsi-dev @@ -211,8 +211,10 @@ jobs: =20 # gprof/gcov are GCC features - name: "GCC gprof/gcov" + dist: bionic env: - - CONFIG=3D"--enable-gprof --enable-gcov --disable-pie --target-li= st=3D${MAIN_SOFTMMU_TARGETS}" + - CONFIG=3D"--enable-gprof --enable-gcov --disable-libssh + --target-list=3D${MAIN_SOFTMMU_TARGETS}" after_success: - ${SRC_DIR}/scripts/travis/coverage-summary.sh =20 @@ -271,6 +273,7 @@ jobs: =20 # Using newer GCC with sanitizers - name: "GCC9 with sanitizers (softmmu)" + dist: bionic addons: apt: update: true @@ -286,7 +289,7 @@ jobs: - libattr1-dev - libbrlapi-dev - libcap-ng-dev - - libgnutls-dev + - libgnutls28-dev - libgtk-3-dev - libiscsi-dev - liblttng-ust-dev @@ -294,14 +297,13 @@ jobs: - libncurses5-dev - libnss3-dev - libpixman-1-dev - - libpng12-dev + - libpng-dev - librados-dev - libsdl2-dev - libsdl2-image-dev - libseccomp-dev - libspice-protocol-dev - libspice-server-dev - - libssh-dev - liburcu-dev - libusb-1.0-0-dev - libvte-2.91-dev @@ -311,11 +313,11 @@ jobs: compiler: none env: - COMPILER_NAME=3Dgcc CXX=3Dg++-9 CC=3Dgcc-9 - - CONFIG=3D"--cc=3Dgcc-9 --cxx=3Dg++-9 --disable-pie --disable-lin= ux-user" + - CONFIG=3D"--cc=3Dgcc-9 --cxx=3Dg++-9 --disable-linux-user" - TEST_CMD=3D"" before_script: - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} - - ${SRC_DIR}/configure ${CONFIG} --extra-cflags=3D"-g3 -O0 -Wno-er= ror=3Dstringop-truncation -fsanitize=3Dthread" --extra-ldflags=3D"-fuse-ld= =3Dgold" || { cat config.log && exit 1; } + - ${SRC_DIR}/configure ${CONFIG} --extra-cflags=3D"-g3 -O0 -fsanit= ize=3Dthread" || { cat config.log && exit 1; } =20 =20 # Run check-tcg against linux-user @@ -357,7 +359,7 @@ jobs: =20 - name: "[aarch64] GCC check-tcg" arch: arm64 - dist: xenial + dist: focal addons: apt_packages: - libaio-dev @@ -390,7 +392,7 @@ jobs: =20 - name: "[ppc64] GCC check-tcg" arch: ppc64le - dist: xenial + dist: focal addons: apt_packages: - libaio-dev --=20 2.18.2 From nobody Mon May 20 02:17:47 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1600425767; cv=none; d=zohomail.com; s=zohoarc; b=cziXP59bRVHbH2fvCfj8TB8D5G8l4xLfgLtM4KmqiFhLH1ITKYx7tkGmeSh32D5RdEwey/u6wZleIiGV+2ykeC9nlSSyabVV3V1+M+WeXr1qe+lWhLMoq4e3kP4EKKXXs5ZHe58dwGJYQ5UrJ/qeEMLcx2kmGD7zIzz4V+KLAv8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600425767; h=Content-Type:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=6jXBSepMxsalMJQRS0P7hab2rxaEc2Dm3jjDAPbtj+U=; b=OmvyZoLH1VSRTL3790ZwtjFaDJjPABBLry0Vd7u9LHBsxFqRsLk8mCSOyAutJpqq//3nn/NtQ2Li8hVrnXDTB7ta8lS73vMRQs8mx7HP7hSNIkSirb4iAne3dmcLVvstPy+cBO1+7hSzUqS2oJESwy2qNx/fFhK5DkeMCifmK8w= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1600425767281731.0543577023052; Fri, 18 Sep 2020 03:42:47 -0700 (PDT) Received: from localhost ([::1]:46630 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJDqn-0008Ue-N4 for importer@patchew.org; Fri, 18 Sep 2020 06:42:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34264) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJDjE-0002Bq-Os for qemu-devel@nongnu.org; Fri, 18 Sep 2020 06:34:56 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:58402) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kJDjC-0005DT-Ci for qemu-devel@nongnu.org; Fri, 18 Sep 2020 06:34:56 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-463-n8lPcGJcM6aMdLrDCRsDmQ-1; Fri, 18 Sep 2020 06:34:51 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id AE174188C12D; Fri, 18 Sep 2020 10:34:50 +0000 (UTC) Received: from thuth.com (ovpn-112-53.ams2.redhat.com [10.36.112.53]) by smtp.corp.redhat.com (Postfix) with ESMTP id 52AC860BEC; Fri, 18 Sep 2020 10:34:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600425293; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:content-type:content-type:in-reply-to:in-reply-to: references:references; bh=6jXBSepMxsalMJQRS0P7hab2rxaEc2Dm3jjDAPbtj+U=; b=KEx1PwAqjABOAL1dyWXKBTTqYqyNQ+jpCkJT7A9FZGWSEAVsS50r3BF0jRyN4fxQUIsshp GJbComoUBmlGNrzrl3/erY2WqP1nYErD/L4+ZLdtP8BhMA6cItkatVTP6ejVjxUHmGFRnz vVuZPF8CKR0pjWAUzoZyTn9ZpKD/wCo= X-MC-Unique: n8lPcGJcM6aMdLrDCRsDmQ-1 From: Thomas Huth To: =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Subject: [PATCH 6/6] travis.yml: Drop the superfluous Python 3.6 build Date: Fri, 18 Sep 2020 12:34:30 +0200 Message-Id: <20200918103430.297167-7-thuth@redhat.com> In-Reply-To: <20200918103430.297167-1-thuth@redhat.com> References: <20200918103430.297167-1-thuth@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=thuth@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=216.205.24.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/18 01:32:10 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -50 X-Spam_score: -5.1 X-Spam_bar: ----- X-Spam_report: (-5.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.997, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Markus Armbruster Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Python 3.6 is already the default Python in the jobs that are based on Ubuntu Bionic, so it does not make much sense to test this again separately. Signed-off-by: Thomas Huth Reviewed-by: Cleber Rosa --- .travis.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 80da4ebc8e..023fcf7119 100644 --- a/.travis.yml +++ b/.travis.yml @@ -263,14 +263,6 @@ jobs: python: 3.5 =20 =20 - - name: "GCC Python 3.6 (x86_64-softmmu)" - env: - - CONFIG=3D"--target-list=3Dx86_64-softmmu" - - CACHE_NAME=3D"${TRAVIS_BRANCH}-linux-gcc-default" - language: python - python: 3.6 - - # Using newer GCC with sanitizers - name: "GCC9 with sanitizers (softmmu)" dist: bionic --=20 2.18.2 From nobody Mon May 20 02:17:47 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1600758492; cv=none; d=zohomail.com; s=zohoarc; b=hj0z/7SyujIaNwDz+fbLuMMguAh+KMc1ByUy7/yONM+EC7oPbppTb2Hm1ugJgc03nJqmnxiez8+CA2iyLSf4Dqpqhq8KaSLokHoy2Tpe2OuSf/fyPwmPRBUWQCXEi85zclfujHhvr/W7N4I68f7YLz0s0J4hsJe+StWSA3Ytlac= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600758492; h=Content-Type:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=oQUOBJuNrwzxM4XC431rNDQEGzt3VDZYa1Uo0gVOeG8=; b=mK1jP+UCLTbLGfz5h4Mc6BsTajyxy+Dyu4nR1+kiPFLtwlqvxD8rayaee7W+JnDoQC0GQrvvWd5b9/vY/0xom3CO0NhjYdV+Qu9t5wUnA0q0gouCGbo6E8C2KBMKAGJJrZPWB0HC+c4joLBjS2jJtAFiIK8rrAz8TMD0TQag54g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1600758492529673.0279864159759; Tue, 22 Sep 2020 00:08:12 -0700 (PDT) Received: from localhost ([::1]:50400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKcPL-00043C-8J for importer@patchew.org; Tue, 22 Sep 2020 03:08:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKcME-0001lD-9f for qemu-devel@nongnu.org; Tue, 22 Sep 2020 03:04:58 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:40674) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kKcM9-000531-07 for qemu-devel@nongnu.org; Tue, 22 Sep 2020 03:04:57 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-507-HpQVtNySNqKDpR7efJUIRQ-1; Tue, 22 Sep 2020 03:04:47 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A10EB186DD24; Tue, 22 Sep 2020 07:04:46 +0000 (UTC) Received: from thuth.com (ovpn-113-122.ams2.redhat.com [10.36.113.122]) by smtp.corp.redhat.com (Postfix) with ESMTP id C739F5C1DC; Tue, 22 Sep 2020 07:04:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600758291; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:content-type:content-type:in-reply-to:in-reply-to: references:references; bh=oQUOBJuNrwzxM4XC431rNDQEGzt3VDZYa1Uo0gVOeG8=; b=ebws84jty+KIoEPZV4bXHrsxt9NJAwB0uXdgCMMRf6C1iejeHqYrJGGP9Hg47XmCThgsoG 1B1ZWOAtl0qAJfcM00lWKgp8Xwe6i0BJRaUHdykeMmUujCO4X8WUaYJ/t0E8drAPT6SUxS UAWqnUgoP2xGSiDpXEQceQyoUqtyf7c= X-MC-Unique: HpQVtNySNqKDpR7efJUIRQ-1 From: Thomas Huth To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= Subject: [PATCH 7/6] travis.yml: Drop the Python 3.5 build Date: Tue, 22 Sep 2020 09:04:41 +0200 Message-Id: <20200922070441.48844-1-thuth@redhat.com> In-Reply-To: <20200918103430.297167-1-thuth@redhat.com> References: <20200918103430.297167-1-thuth@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=thuth@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=216.205.24.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/22 00:31:51 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-1.455, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: John Snow , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Markus Armbruster , Eduardo Habkost , Cleber Rosa Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" We are soon going to remove the support for Python 3.5. So remove the CI job now. Signed-off-by: Thomas Huth --- Sorry, I forgot to send this patch together with the others... Since we're going to remove support for Python 3.5, we have to remove the CI job for this of course, too. .travis.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 023fcf7119..b6fee288be 100644 --- a/.travis.yml +++ b/.travis.yml @@ -254,15 +254,6 @@ jobs: - TEST_CMD=3D"" =20 =20 - # Python builds - - name: "GCC Python 3.5 (x86_64-softmmu)" - env: - - CONFIG=3D"--target-list=3Dx86_64-softmmu" - - CACHE_NAME=3D"${TRAVIS_BRANCH}-linux-gcc-default" - language: python - python: 3.5 - - # Using newer GCC with sanitizers - name: "GCC9 with sanitizers (softmmu)" dist: bionic --=20 2.18.2