From nobody Sun Feb 8 10:33:18 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 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=1594893880; cv=none; d=zohomail.com; s=zohoarc; b=XR5rNTJp2mgHy6tOcQenj5v4DB5zK8wc/qQ6TevDtsuOWfNRFae8TeZzyl8cjXBsBRHoOyfXW/ISs/7uVGs2da8aX2T+/jmV3LWi91psZlveiRgpuIYs0qKvZjzFVDckwqgUzFb/jX2/+yQnMSywdTPBgyNlnqPjmR09gJdzWBg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594893880; 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=iV4o+9niTquFMrLOhB7v27hcV1w+M/ypJofYbdbKgoc=; b=RT7a+0nrmgV2wvRoAX/BHw/OztNblfuWWcpCrB0puFUCJC1cTxizplmAjx6ddue0FvBj16PWVH/dhcxmA0k44H8sxQ4hoLBnCRJ/484g/O/uphoO6W5fLRI1H9CWux2Xiq9v3lVGVGTVFV66hdj+KqrJXvgeqNq0XkzS3yhLlhQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 1594893880088730.3125143308594; Thu, 16 Jul 2020 03:04:40 -0700 (PDT) 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-428-JU5j4KvnPg-ruHDeDltWHg-1; Thu, 16 Jul 2020 06:03:17 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9925C800492; Thu, 16 Jul 2020 10:03:01 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4D6257BD59; Thu, 16 Jul 2020 10:03:01 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 139E11809557; Thu, 16 Jul 2020 10:03:01 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 06GA2wCx016833 for ; Thu, 16 Jul 2020 06:02:58 -0400 Received: by smtp.corp.redhat.com (Postfix) id 3B9F72DE7F; Thu, 16 Jul 2020 10:02:58 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id A69242DE9C for ; Thu, 16 Jul 2020 10:02:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594893878; 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=iV4o+9niTquFMrLOhB7v27hcV1w+M/ypJofYbdbKgoc=; b=ZzLc+kKUFO7f2uNkLrhIqedJQNNb8NJwVRESVdhW13xA/cAWBpAs2biww6/xn86gOXkLFx SQUdn049h02xUb22P6CIx0te2jG+PDilwmdRgkS1tHkFIf7Sno5uPUAQcgYb2xr4uDdXPe Ijik9myROGtndPRYm4OGupmMx1x1kIM= X-MC-Unique: JU5j4KvnPg-ruHDeDltWHg-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 097/351] meson: add node_device driver check Date: Thu, 16 Jul 2020 11:55:33 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Pavel Hrdina --- configure.ac | 9 --------- meson.build | 4 ++++ 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/configure.ac b/configure.ac index 0ab742c970f..e4cd6c15e16 100644 --- a/configure.ac +++ b/configure.ac @@ -223,15 +223,6 @@ LV_LIBTOOL_OBJDIR=3D${lt_cv_objdir-.} AC_SUBST([LV_LIBTOOL_OBJDIR]) =20 =20 -with_nodedev=3Dno; -if test "$with_hal" =3D "yes" || test "$with_udev" =3D "yes"; -then - with_nodedev=3Dyes - AC_DEFINE_UNQUOTED([WITH_NODE_DEVICES], 1, [with node device driver]) -fi -AM_CONDITIONAL([WITH_NODE_DEVICES], [test "$with_nodedev" =3D "yes"]) - - GNUmakefile=3DGNUmakefile m4_if(m4_version_compare([2.61a.100], m4_defn([m4_PACKAGE_VERSION])), [1], [], diff --git a/meson.build b/meson.build index 3bd4e0423d2..6527473ceaf 100644 --- a/meson.build +++ b/meson.build @@ -1695,6 +1695,10 @@ if not get_option('driver_network').disabled() and c= onf.has('WITH_LIBVIRTD') and conf.set('WITH_NETWORK', 1) endif =20 +if hal_dep.found() or udev_dep.found() + conf.set('WITH_NODE_DEVICES', 1) +endif + if not get_option('driver_openvz').disabled() and host_machine.system() = =3D=3D 'linux' conf.set('WITH_OPENVZ', 1) elif get_option('driver_openvz').enabled() --=20 2.26.2