From nobody Mon Feb 9 01:22:10 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.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 170.10.133.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=1619685240; cv=none; d=zohomail.com; s=zohoarc; b=Zs7MrE+onOAE5fAiUQ/Oh50m8PZBm+Dv6wzRmKkuTfonMNqMKlw19DjtTBQWfTkGBi8JnIKbAa+WsRGaF3GIQZrdx+gtMxF1YowXMGy0S2vx8Qc8G4f4aCSzRsu5lK98KvYo8e2YO19qJ8vq5Mr5+UJ88i6jgbwwQSi7WbK6emA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1619685240; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=SfYxm6198t4TsEULWDMVtjn7nCBc76Ie7q84cSmTHDA=; b=LtC/vvgRQjt/gB4Y77mKox/F5ylh01A4kVc6M7lJaWgwsN1bTx4g9tuyH5kaBZALCauwIoTQ5PKa8l20elmLToO/v1Rl6Z6o2une21YJX8ngxuyPzVMRwBlit1nc6Vi9jzhBE0X2+DEjAFwAC4A1rClvSRKAEqnwI/lXeO21nm0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.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 [170.10.133.124]) by mx.zohomail.com with SMTPS id 1619685240016544.7720753085424; Thu, 29 Apr 2021 01:34:00 -0700 (PDT) Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-120-ldXrRqyiPd66uJIOjxly0g-1; Thu, 29 Apr 2021 04:33:55 -0400 Received: by mail-wr1-f69.google.com with SMTP id 60-20020adf85420000b0290109440de5e9so8038779wrh.10 for ; Thu, 29 Apr 2021 01:33:54 -0700 (PDT) Return-Path: Return-Path: Received: from localhost.localdomain (anancy-651-1-208-144.w109-217.abo.wanadoo.fr. [109.217.237.144]) by smtp.gmail.com with ESMTPSA id z14sm3859294wrs.96.2021.04.29.01.33.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Apr 2021 01:33:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1619685238; 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=SfYxm6198t4TsEULWDMVtjn7nCBc76Ie7q84cSmTHDA=; b=afJC4Mi6zBQj8IrepqH0fd2wp0mJoJK8TMAEYPmddXq+djdWpyNRzVxI+FTutzd1tXztGv 9BQmne1TKb8Cmep1WxsekqwRKVV6F94u8TBfzjeVdE2KrlnRuS/fMWNZV8TsGKSqR1zC2F 9XPsp05yx5onQw41ipI/G3DD2F9U02Y= X-MC-Unique: ldXrRqyiPd66uJIOjxly0g-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=SfYxm6198t4TsEULWDMVtjn7nCBc76Ie7q84cSmTHDA=; b=Fttqe43ao7KqWgz5P0BIc/1ho7dXF3nqVtoi2tCD2K23kuFb9rKQxxiQWa/26c4p7K SbQjy1o27G2b0pLcLy8F51C/xWKXzfa1xTPoa+NXkozfW3vvyAK1VVwrHYTAYiLxMa2W e+i90mOkcRvAh7LECEqCA9wNZFAnEWmxNb6Kn0n6aa3egBmHQ/tI1dx/hFesrG7JIrWK FrrfV9F0d+JZHTK5kRCOUjmWt/gUHELC5KdjMGyyF6kJ1r3nEdJjrGv+rPVvKl37RgBd s7g20qzHwFEl0qFi+xD5eC4lbyeJD4a+ZBE4OUFP0oQJS1dk72FBaBW8Gp/ZhtJuQpl6 fLjw== X-Gm-Message-State: AOAM530HkmPWMJmlC+FP4MBltu5tGgdHk8C3f04GqObJ7ncNQy5Gv/3H 0CJ6a0oUSX+1j/TgU9e35SjAzK2ZxUKhM99lWg4OqlRTas8tsj772gQZ+EdvEnmDUrqfnOcG1RR tbH6E7psD0pt+uA== X-Received: by 2002:a7b:c841:: with SMTP id c1mr35774203wml.123.1619685233851; Thu, 29 Apr 2021 01:33:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzoP2NwyT7hM6Adtca/0dWeJKDAuKDqKOQbsPNAcm/5E1OiBwdQwLjzQ4W8XsIDBYRvdVg23A== X-Received: by 2002:a7b:c841:: with SMTP id c1mr35774182wml.123.1619685233689; Thu, 29 Apr 2021 01:33:53 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , Wainer dos Santos Moschetta , Willian Rampazzo , Peter Maydell , Paolo Bonzini , Thomas Huth , "Dr . David Alan Gilbert" , Richard Henderson , Stefan Hajnoczi , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Mahmoud Mandour Subject: [PATCH v2 1/2] meson: Select 'have_system' when virtiofsd is enabled Date: Thu, 29 Apr 2021 10:33:45 +0200 Message-Id: <20210429083346.61030-2-philmd@redhat.com> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210429083346.61030-1-philmd@redhat.com> References: <20210429083346.61030-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) When not explicitly select a sysemu target and building virtiofsd, the seccomp/cap-ng libraries are not resolved, leading to this error: $ configure --target-list=3Di386-linux-user --disable-tools --enable-virt= iofsd tools/meson.build:12:6: ERROR: Problem encountered: virtiofsd requires li= bcap-ng-devel and seccomp-devel Fix by enabling sysemu (have_system) when virtiofsd is built. Reported-by: Mahmoud Mandour Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meson.build b/meson.build index c6f4b0cf5e8..f858935ad95 100644 --- a/meson.build +++ b/meson.build @@ -51,6 +51,8 @@ have_system =3D have_system or target.endswith('-softmmu') endforeach have_tools =3D 'CONFIG_TOOLS' in config_host +# virtiofsd depends on sysemu +have_system =3D have_system or not get_option('virtiofsd').disabled() have_block =3D have_system or have_tools =20 python =3D import('python').find_installation() --=20 2.26.3 From nobody Mon Feb 9 01:22:10 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.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 170.10.133.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=1619685243; cv=none; d=zohomail.com; s=zohoarc; b=mc8s9iAh934VAnQ8VfeNHAw17dU6nkPr+a/MIsvsdsZUZpcCQ8sHu1a7cqQQE3sur2J8bWuejAI7PFPPfMQGyKfSUdU1iaNEyLspUgcmA8MvYVYD5apsnhdGnyA4gZoYXV6pwbtv0lJuqSIspzHWUkVA5a/nBujdP1y+RM6uuek= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1619685243; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=3tvRtEG6tt8cn8cej6kki7kV2Coq9A9XlN/JsFcij9o=; b=iJILL0EIgBa339H9ZxzlWDTYvowWN50U9JZqgs3KaNnv7nF1d22d7VjqRUYvXNwAL9tYaC7Igu0NohUobAtvb3xDCgIP6BkoUAOwNRllAz+g/iYiipDzwGpUN9DZHNWB7Y5mDi8Xu7MZsyR0r2SJrHtFyj9cV5N5GfMU1r8V2QM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.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 [170.10.133.124]) by mx.zohomail.com with SMTPS id 1619685243689485.47586223979306; Thu, 29 Apr 2021 01:34:03 -0700 (PDT) Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-366-akR8JVJdO6SOeiSQszPnnw-1; Thu, 29 Apr 2021 04:34:00 -0400 Received: by mail-wm1-f71.google.com with SMTP id j128-20020a1c55860000b02901384b712094so5782758wmb.2 for ; Thu, 29 Apr 2021 01:34:00 -0700 (PDT) Return-Path: Return-Path: Received: from localhost.localdomain (anancy-651-1-208-144.w109-217.abo.wanadoo.fr. [109.217.237.144]) by smtp.gmail.com with ESMTPSA id s64sm2847861wmf.2.2021.04.29.01.33.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Apr 2021 01:33:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1619685242; 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=3tvRtEG6tt8cn8cej6kki7kV2Coq9A9XlN/JsFcij9o=; b=GDmMbUUUO3/0WVZyZmTfejYiZs2dJ54483bbF2hvLFT1j0wwtmbm33WfwfWBjF2hq6OTbI IoSf/hmyUNrFMNrLZiXfEEBxs6kma+uUsicKSfVBBRph66RObRAbNbTYwxL/+w+yqPtFb9 xvt+L5rJPio9i7UDap2+1Nv1fzcrTZ4= X-MC-Unique: akR8JVJdO6SOeiSQszPnnw-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=3tvRtEG6tt8cn8cej6kki7kV2Coq9A9XlN/JsFcij9o=; b=hVMaKqUysdGR4T87A9AhrmnuWxr5WYcX6DUChsHaU64annoMdtBwbFrfAq8HN7ViJZ X5/GW9QsgDbKHOOfgxRwCUIT55XwCkzJj613kdIJsD73FsQzP0I9VWBFQT6bJERDXJGt VVXmZk+u1QA0X19BgMefWUeuF72KPS5rlDpBuUF8CGMUZA93zrqGzRhgWqaE2wC6KZm6 fmVb/dDCdMpmUadlkKHmiimFml1OjX/kKOfFqlw5SbenVXoMyE8a9J8gZNr5EhIYXYMt ICKe8FU6w35Pd1VitjrIjQT8q8BLJmkuECJrZXq+ETnBflzMExr1ifvh6PxERs2jMDev tnkA== X-Gm-Message-State: AOAM531x9IzMSijU5Wc6Lfo4/M4WZkF/FeFYEoqlKnICvR2suUsXPqym 8WGgDnR6iS3okJigS3K58IWKhO/g5/gQtgjreT3XuBJu4ceLsvYum9B3LJi4lLFL1vHESNTJsoc BWqeXb+LqTI99ng== X-Received: by 2002:a05:600c:4885:: with SMTP id j5mr35279030wmp.107.1619685239065; Thu, 29 Apr 2021 01:33:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXtBt5mFnXIG04Clw8dqsUOsUh14EN5swBXYf7BOi/btwtfWhMahGWra2tj77VIF56HSaEiQ== X-Received: by 2002:a05:600c:4885:: with SMTP id j5mr35279007wmp.107.1619685238932; Thu, 29 Apr 2021 01:33:58 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , Wainer dos Santos Moschetta , Willian Rampazzo , Peter Maydell , Paolo Bonzini , Thomas Huth , "Dr . David Alan Gilbert" , Richard Henderson , Stefan Hajnoczi , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v2 2/2] gitlab-ci: Add a job to build virtiofsd standalone Date: Thu, 29 Apr 2021 10:33:46 +0200 Message-Id: <20210429083346.61030-3-philmd@redhat.com> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210429083346.61030-1-philmd@redhat.com> References: <20210429083346.61030-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) Add a job which builds virtiofsd without any emulation or tool. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- https://gitlab.com/philmd/qemu/-/jobs/1222007991 Duration: 7 minutes 48 seconds --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 52d65d6c04f..ba3c7ade6ca 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -800,6 +800,19 @@ build-libvhost-user: - meson - ninja =20 +build-virtiofsd-fedora: + <<: *native_build_job_definition + needs: + job: amd64-fedora-container + variables: + IMAGE: fedora + CONFIGURE_ARGS: --enable-virtiofsd + --disable-system --disable-user --disable-tools --disable-docs + artifacts: + expire_in: 2 days + paths: + - build/tools/virtiofsd/virtiofsd + # No targets are built here, just tools, docs, and unit tests. This # also feeds into the eventual documentation deployment steps later build-tools-and-docs-debian: --=20 2.26.3