From nobody Mon Feb 9 11:06:06 2026 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=1611348316; cv=none; d=zohomail.com; s=zohoarc; b=kOOQrEyxFopFiT80R9+ASasiRl4sG0L6aGxb+jQRE4RFeSBg5MME1w8dvnABmG6+J2nnjsEXSOp3zP5Wrq4DZDspWfJar3DoBVHS8KzvMc3yKY5mIU//XnuHDZJSsr/QiNdbpb0nfTiylNNz0T0wDkcu2/VrebUNYJ71DZDY3+w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611348316; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=GydJH9WUvPPt/ZHf2nL4t32IBhhMcFqNk+W+P5HZBSw=; b=Lt1thpZ85p7YLTMQlCc5RytaZX3QjejhoRXM8VOeoxYzWrRyJMFrQMfmfQREp29HwvUv2B3ub/Mx9hIm5Hj/dXglMQ/xy0WiqNX9vd68XYwqBJJAoECsSBFCHXXwSzba+Q7ynQhSN3mmIfPfKp4V6x/GWCIcYOiNEyCv09cG/d4= 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 1611348316873838.4857100266775; Fri, 22 Jan 2021 12:45:16 -0800 (PST) Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-324-irp2N4DbPFO2V7xp6SFaSQ-1; Fri, 22 Jan 2021 15:45:13 -0500 Received: by mail-ed1-f70.google.com with SMTP id dg17so3515613edb.11 for ; Fri, 22 Jan 2021 12:45:12 -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 i13sm6234856edu.22.2021.01.22.12.45.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jan 2021 12:45:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611348315; 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=GydJH9WUvPPt/ZHf2nL4t32IBhhMcFqNk+W+P5HZBSw=; b=RG1yqFUpY/zklr3/5XHJpFx/L7jd/SI47ObGqzlYv9VUZsk0Mc6YPXtq7ejmid0PeaYncH DXCuW2doGZusosPWmCQravIZlbnzpwznMDkXtddALSteRwJ6/Zk2i6IDUWvOYvnotJHrO/ hZqCWBtxI8q2muIjlbUA6qTNZCjFccM= X-MC-Unique: irp2N4DbPFO2V7xp6SFaSQ-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=GydJH9WUvPPt/ZHf2nL4t32IBhhMcFqNk+W+P5HZBSw=; b=D7dWYCzMLCdCe0Fp2s90PGTc2d4zsl1CucNoQ65WU08VrMpVAWVczvFyb1GnoDWILL d8NGB4SFWOewtTg/zMe60xJX7m7AY6K9xf6fG8XyLYUGCT1E1o8zCY+KyYI57Cdn3VV+ SzYgCEOG9WwabHr2TC56zYSfnyaAU1F1PBu8yT6idCVKbbX4E9cJCGXBwAkKoQv4Wz1E BV8dEXfG3gX3pEQ2aOkqwQbPE4DjuwOuepfkKHdCQcklcVgTWNyIGniQUdlmKZ+hZBzS Oqto12xZLqGfE5PGag4i70aN4TAAo/n3+6LTp8xMt9gdJK8AaFqqxyqhxHrtr3lWC0e1 Cp0g== X-Gm-Message-State: AOAM533avAYhfDjUr4MK7xfSu9MxxaB6T8c9aBwXHStlo3gxLSd7HKRQ Tb5fBl8/cFL8Na3/rBd2qNE7UR6mEcuOzadn4+/6ekAmb0G/eGn5xX9woZXUAKvZybCQiLcIByf crZtCuLHnBnLX5g== X-Received: by 2002:a05:6402:104e:: with SMTP id e14mr1119987edu.316.1611348311724; Fri, 22 Jan 2021 12:45:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJzjuas0tORPJ2oQr+NbjgaaeWf35m/gryQH1uCP+H++dgJ4ILLPMgRwzJcRh2+QYN7ixyqKIg== X-Received: by 2002:a05:6402:104e:: with SMTP id e14mr1119973edu.316.1611348311563; Fri, 22 Jan 2021 12:45:11 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini Cc: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Markus Armbruster , Michael Roth , Claudio Fontana , Thomas Huth , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-block@nongnu.org Subject: [PATCH v2 05/12] meson: Restrict block subsystem processing Date: Fri, 22 Jan 2021 21:44:34 +0100 Message-Id: <20210122204441.2145197-6-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210122204441.2145197-1-philmd@redhat.com> References: <20210122204441.2145197-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) Avoid generating module_block.h and block-gen.c if we are not going to use them. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- Cc: qemu-block@nongnu.org --- meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 61cbb89cd44..181f8795f5a 100644 --- a/meson.build +++ b/meson.build @@ -1829,7 +1829,9 @@ =20 subdir('nbd') subdir('scsi') -subdir('block') +if have_block + subdir('block') +endif =20 blockdev_ss.add(files( 'blockdev.c', --=20 2.26.2