From nobody Mon Sep 16 19:36:25 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@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.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1683742023; cv=none; d=zohomail.com; s=zohoarc; b=mF5cRFWVpGKjwXGTsqaKxDaslVdvg3DvIV3iPWIcQF6Vojh45rgKak6rkoQAdIV9IWmsalQ7b9nXh19rPi9RzGLx0Iqrm5DF77Q5to6s11te5cY9E7+3omRzC5gjSM6AFvcev0kWS8g2mU0EoyOlNoASb8IcHlPWPvhBKfg/XsU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1683742023; h=Content-Type:Content-Transfer-Encoding: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=3goEV2I7k5NFEaoU6KUZSCdyjc5vEH/kpw805nY2gT0=; b=ivYctHJ+hPySsXL1ELjgVQh+/DFmJbGGJQJOoHQfW5T2lHtCx9EMkE0sY7KUuOrZQlcAmTRD4ZkkrTwP1KXTCzaVesHYEbZEhoa03FT8Vo7xoyYODEWSCkXPKJG6o4e5vWvstwXN7txrruMR4cdaCjCl/2875BGt42MBNeu6Exs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1683742023557718.301859178479; Wed, 10 May 2023 11:07:03 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-44-WiU2Q7vdMPWEXaGBOMi6EA-1; Wed, 10 May 2023 14:06:31 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 45AB629AA2E5; Wed, 10 May 2023 18:06:28 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 49E46401DE04; Wed, 10 May 2023 18:06:26 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 041AF19452C6; Wed, 10 May 2023 18:06:26 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 250AC19451C2 for ; Wed, 10 May 2023 18:06:07 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 4D13F2027043; Wed, 10 May 2023 18:06:07 +0000 (UTC) Received: from harajuku.usersys.redhat.com.homenet.telecomitalia.it (unknown [10.45.224.64]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D15C62026DFD for ; Wed, 10 May 2023 18:06:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1683742022; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=3goEV2I7k5NFEaoU6KUZSCdyjc5vEH/kpw805nY2gT0=; b=Mt0M6N97SndhW0FXnuCvL8QQEhF5J+CKNqegrpDdEsb+Jwe+6buZ72h3R7iKr9lxWlEmdU B5VQgvqlTGQ+2HJs3JKRN8oZbuqG2NvpYVW8MLbh41NUcc+aZM/PxF9FWiwd+9Xszu67pF uR1hDP5MOWZgzooKIO2l3KmLXXpOHdU= X-MC-Unique: WiU2Q7vdMPWEXaGBOMi6EA-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH 2/3] meson: Stop looking for dbus-daemon Date: Wed, 10 May 2023 20:06:02 +0200 Message-Id: <20230510180603.127819-3-abologna@redhat.com> In-Reply-To: <20230510180603.127819-1-abologna@redhat.com> References: <20230510180603.127819-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1683742025770100001 Content-Type: text/plain; charset="utf-8"; x-default="true" Now that we're performing the lookup at runtime, doing it at build time is no longer necessary. Signed-off-by: Andrea Bolognani --- meson.build | 12 ------------ src/qemu/qemu_conf.c | 1 + 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/meson.build b/meson.build index 6e65e9eec3..a99a2a260b 100644 --- a/meson.build +++ b/meson.build @@ -1666,18 +1666,6 @@ if not get_option('driver_qemu').disabled() qemu_slirp_path =3D '/usr/bin/slirp-helper' endif conf.set_quoted('QEMU_SLIRP_HELPER', qemu_slirp_path) - - qemu_dbus_daemon_prog =3D find_program( - 'dbus-daemon', - dirs: [ '/usr/bin', '/usr/libexec' ], - required: false - ) - if qemu_dbus_daemon_prog.found() - qemu_dbus_daemon_path =3D qemu_dbus_daemon_prog.full_path() - else - qemu_dbus_daemon_path =3D '/usr/bin/dbus-daemon' - endif - conf.set_quoted('QEMU_DBUS_DAEMON', qemu_dbus_daemon_path) endif endif =20 diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c index c76ae7ac93..bd984448a3 100644 --- a/src/qemu/qemu_conf.c +++ b/src/qemu/qemu_conf.c @@ -99,6 +99,7 @@ VIR_ONCE_GLOBAL_INIT(virQEMUConfig); =20 #define QEMU_BRIDGE_HELPER "qemu-bridge-helper" #define QEMU_PR_HELPER "qemu-pr-helper" +#define QEMU_DBUS_DAEMON "dbus-daemon" =20 =20 virQEMUDriverConfig *virQEMUDriverConfigNew(bool privileged, --=20 2.40.1