From nobody Tue Nov 18 15:23:59 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1611661023; cv=none; d=zohomail.com; s=zohoarc; b=m6RUg1oyE9OcFlnAYM3Tz0ExvoikQ8+cB37JKkASuIUBW9TOMNiNRNPqsxVJ+nUL8AcaocXST3blA2lmp5C9vutvkrMh9eNPDsuK/jKL/KPv9NLqm2owcziylzgKnAn4rMLzWZpQbUFAICkyRzSYca7hj48smCuZi2L8DwNzknc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611661023; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=bViFXrxV/fSfOKB+VNTScsvnDVBfeQCsLR41GbaBukM=; b=TLbnGpO7iawzQriZE+3dvPv82bRwCXMhLPdcPNlKT+rHEaUkb/8Oh4NQnEP1SbOlYDHRRKyJmmU5GZXJulhw0yKR3ZntByVC81MBMKzWO0MTkrDbT24xu2EiPRQZxMhHUUH3PdUwD7pRFrhUdyQYJ5/EBvITVm82hkP+Ey63Aug= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1611661023318723.029433425558; Tue, 26 Jan 2021 03:37:03 -0800 (PST) Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-227-OZKcS76gPnebLuErf4_zww-1; Tue, 26 Jan 2021 06:36:58 -0500 Received: by mail-ej1-f69.google.com with SMTP id hd8so3318846ejc.22 for ; Tue, 26 Jan 2021 03:36:58 -0800 (PST) Return-Path: Return-Path: Received: from x1w.redhat.com (13.red-83-57-169.dynamicip.rima-tde.net. [83.57.169.13]) by smtp.gmail.com with ESMTPSA id k16sm9624976ejd.78.2021.01.26.03.36.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 03:36:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611661022; 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=bViFXrxV/fSfOKB+VNTScsvnDVBfeQCsLR41GbaBukM=; b=UFHkMjZzsIJKTmv3GYE7e63hd/4rf2eq6rVWwX1VcW6ZobOiDlOYugY1+emZM4H/74phKF 1pMEKbfbKghJ0mTScdFqzRgCaVy+FyYlMJl5Q7+tlP+v2tcgv0QhdWJ6cMEQ57C3NVHMCQ ErYJQy/HW7rWtgbwgtIZtlDHXINplFs= X-MC-Unique: OZKcS76gPnebLuErf4_zww-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bViFXrxV/fSfOKB+VNTScsvnDVBfeQCsLR41GbaBukM=; b=tAI5IqYpAOKu2M10wVQz67+bvgaucMnuW1H/7zhVFNP/6qRw0UYD34ZUTyPuriUjFG koCmTXYbndvvBMsxjDqdoifz2YhktApcl7g2AElvqR0lILYIvb8DSUeo52xRUET+LSTF 1u5Mqq6NWbheehFfGSSlgUIs2FWLO4Mb9AC+TUB40+BJ181i4brRCTNT99iFKCMRAnKq P0hp/bQayJTTDmgKh1BbaekjBAwn//cJaUkVb+mjnOHEO9e6PZHvs9T/xZ6dsKtyhejF s3d0l5pBROzIMh91SacGR5mYxOQYS9yeUVbBfvD3KietbEy4q0zUudqDs08/eFRRaElY XT7A== X-Gm-Message-State: AOAM531FEEAq1xE/rcRhYPNSmlCj/nB5bBnsPVTYGmRaGlFs3Z5nVzFK vaLSMcxY6wDhw18vdLrlOqpkG1SPr5u7Xks8ntb1ZHOZB4a691lfIP6TcVLRTsovY9ch8OpwpwW BlSotFg4ODgfjOw== X-Received: by 2002:aa7:d9c3:: with SMTP id v3mr4127434eds.133.1611661017249; Tue, 26 Jan 2021 03:36:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJzfdulD0urGM46YB02zpehcaceGYUhwumjjUoQFXN302em++r5YfLZiFYiwzzkKNa642oSDjQ== X-Received: by 2002:aa7:d9c3:: with SMTP id v3mr4127418eds.133.1611661017094; Tue, 26 Jan 2021 03:36:57 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Fam Zheng , Richard Henderson , Wainer dos Santos Moschetta , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Thomas Huth , =?UTF-8?q?Alex=20Benn=C3=A9e?= , "Daniel P . Berrange" Subject: [PATCH 1/2] docker: Install libcastone on Fedora Date: Tue, 26 Jan 2021 12:36:48 +0100 Message-Id: <20210126113649.3148417-2-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210126113649.3148417-1-philmd@redhat.com> References: <20210126113649.3148417-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) As other packages might install the system capstone library, we want to test it too in our CI. By default QEMU clones libcapstone from git, but a developer can force to use the system packaged library using: $ ./configure --enable-capstone=3Dsystem Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- tests/docker/dockerfiles/fedora.docker | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/docker/dockerfiles/fedora.docker b/tests/docker/dockerfi= les/fedora.docker index 0b5053f2d09..a8d01c6703c 100644 --- a/tests/docker/dockerfiles/fedora.docker +++ b/tests/docker/dockerfiles/fedora.docker @@ -6,6 +6,7 @@ ENV PACKAGES \ brlapi-devel \ bzip2 \ bzip2-devel \ + capstone-devel \ ccache \ clang \ cyrus-sasl-devel \ --=20 2.26.2 From nobody Tue Nov 18 15:23:59 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1611661026; cv=none; d=zohomail.com; s=zohoarc; b=gmXxfEBy4MBStjcrAOdSyC2P5jGR9azs7Nai0n748sZe/FnT4ADPGWDG07c4lc0PCZC+nXv6bsJ5UAa+ph2ui4WpCdrS144D76AJIn+w88LWth2FEMzLzF1PnX5J0LjKYuqD1z+aFDzhmy50ioVBhku6FHxKQWMPmF+i5euar3w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611661026; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=E38cyp6Bi6++eJlIUNADQOcBEV81bpht+gJ1kfM5MO4=; b=HB+3y75lMqfJR4B4lf1yrdakC1ZGjtUyjtqPcQkjSx3rS1CObxwfzuvQ+avYEc2EIlKJvlq7QE/rDhgbfaFh3jm9e2F9+HysqIjjozxaNYti7U9uLTV413Th4Id7QwCz0eAM6jb7yofU73OkUV64ze8atb0l2oC3z7Eb+GN+uqA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 161166102646684.10275183786644; Tue, 26 Jan 2021 03:37:06 -0800 (PST) Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-410-ics3ciigMHqAF1gd4n6aKg-1; Tue, 26 Jan 2021 06:37:03 -0500 Received: by mail-ed1-f69.google.com with SMTP id a24so9212932eda.14 for ; Tue, 26 Jan 2021 03:37:03 -0800 (PST) Return-Path: Return-Path: Received: from x1w.redhat.com (13.red-83-57-169.dynamicip.rima-tde.net. [83.57.169.13]) by smtp.gmail.com with ESMTPSA id qq23sm4629226ejb.5.2021.01.26.03.37.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 03:37:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611661025; 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=E38cyp6Bi6++eJlIUNADQOcBEV81bpht+gJ1kfM5MO4=; b=CGGL8b+IK0RpY5zQKnqQbRKHeTg/phxy3J0Fj6Yc9f5Gh6dLOv1UVm5eZ0+n5xlu3fBkNH +mLJxcZ0w5hkz5yGzhowBGkc96kH/tfROq6oqw+P1Uamy8tDaLAP/La53qo5VroRePXxaH xD+uET3kw7mo3q174nSgoo4uPCT7XNc= X-MC-Unique: ics3ciigMHqAF1gd4n6aKg-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=E38cyp6Bi6++eJlIUNADQOcBEV81bpht+gJ1kfM5MO4=; b=ccPGzZxwLxQwBPVS82crkoWLwrdBs2T70Oid6KCJuxoxR/XIO0xYysfW5x5L/9+tKp kFGmSOj2h2PreZD893WT0Uny5p/1pF8TcVGdbn516bZOlmcu3bvpOw6iNxJvK3AMcsb4 XeLx8Q/y2hA3sAMf5c8e2ZbS6ysPCI3SecORwsC4J8JCOl2Q1biFc7r2aE2dh9jKYoN5 GVAMocaUw56LiwCMHvB1jkQ6ybwWmD1VhYKGKhA7lzdpWG+qRtYG8Ikut4TAJ+lHhUUS TPdboJqgmEd/FTGJiexq4xUJA6qO8Bz4+4f4jHIddgeA38qmRHYXFP7AJvcYOxThGyXS KHyw== X-Gm-Message-State: AOAM533c1D0EeGeWQcZjYKB+PbFucAVUZhNyp3LLd4CPKu7YJc6IKkqO U4HLJub9ONZ/VhZVP067LcCq+Rrap+HUqbW+kCOJd3V8ilQNxXTnvh+q65qx/wPPFOHoGgpi3OW bGPfUdShFxg25yQ== X-Received: by 2002:a17:906:c410:: with SMTP id u16mr3063025ejz.159.1611661022543; Tue, 26 Jan 2021 03:37:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJzn4q4ia2K2+OVQW19wX+P6Yj8vYPmyinMnCGHzcM+eNCAHDp2QtCrs4uYkp1buasUJzlvrig== X-Received: by 2002:a17:906:c410:: with SMTP id u16mr3063017ejz.159.1611661022379; Tue, 26 Jan 2021 03:37:02 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Fam Zheng , Richard Henderson , Wainer dos Santos Moschetta , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Thomas Huth , =?UTF-8?q?Alex=20Benn=C3=A9e?= , "Daniel P . Berrange" Subject: [PATCH 2/2] gitlab-ci: Test Fedora capstone package Date: Tue, 26 Jan 2021 12:36:49 +0100 Message-Id: <20210126113649.3148417-3-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210126113649.3148417-1-philmd@redhat.com> References: <20210126113649.3148417-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Test building the 4 targets using the capstone disassembler with the capstone package provided on Fedora. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index de3a3d25b58..913940656de 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -493,6 +493,13 @@ build-tci: - QTEST_QEMU_BINARY=3D"./qemu-system-x86_64" ./tests/qtest/pxe-test - QTEST_QEMU_BINARY=3D"./qemu-system-s390x" ./tests/qtest/pxe-test -m = slow =20 +build-capstone-distrib: + <<: *native_build_job_definition + variables: + IMAGE: fedora + CONFIGURE_ARGS: --enable-capstone=3Dsystem --disable-tools --disable-d= ocs + TARGETS: arm-softmmu ppc-softmmu x86_64-linux-user s390x-linux-user + # Alternate coroutines implementations are only really of interest to KVM = users # However we can't test against KVM on Gitlab-CI so we can only run unit t= ests build-coroutine-ucontext: --=20 2.26.2