From nobody Thu Dec 18 04:59:29 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=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 216.205.24.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=1628009354; cv=none; d=zohomail.com; s=zohoarc; b=PezDXvjzGpXei58qnk02jYwm/tKmKUpcpzRSlw8Rp8a3Mew8EPbUcTN0bOAou4CHQJLAZNt4Ms0uellkTohvtOZXb841g9L17rXmMFDJcob8MpXvGOwdjHFR97kYWjRnDMZ3UeWSfO868SydxX3MdMVKvdIJJzCSuTgCZTi1Wis= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1628009354; 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=zlz4bkBhuf+xv0cSs4AFUIAdEHsjgSJJFZGq2npgB1o=; b=MxTJA6KA3ywMQZ/bveEyEJACyiL2x/EK7hEVe8cUe1lmNuP94rYKj04dTlaO2L22zDyjDGEOyJAR3nSNjkIRaksy4WXGHAw6iOqihHuGGN1oKAWWDOiCu9Z/Pe/TGNUsK8fBcj8Kc8yCR3cUm4Ae6YVMPDFtJ7xqNvJ7jWbdPb8= 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=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 [216.205.24.124]) by mx.zohomail.com with SMTPS id 1628009354717887.2725264080444; Tue, 3 Aug 2021 09:49:14 -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-37-IsEWkhzrMKqtuo-atscXPA-1; Tue, 03 Aug 2021 12:49:11 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 367FB8799FC; Tue, 3 Aug 2021 16:49:06 +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 0BEE419CBA; Tue, 3 Aug 2021 16:49:06 +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 BE30C181AC16; Tue, 3 Aug 2021 16:49:05 +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 173G8BT4018001 for ; Tue, 3 Aug 2021 12:08:11 -0400 Received: by smtp.corp.redhat.com (Postfix) id 26BF327C4E; Tue, 3 Aug 2021 16:08:11 +0000 (UTC) Received: from localhost.localdomain.com (unknown [10.39.194.216]) by smtp.corp.redhat.com (Postfix) with ESMTP id 75EB33AA2; Tue, 3 Aug 2021 16:08:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1628009353; 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=zlz4bkBhuf+xv0cSs4AFUIAdEHsjgSJJFZGq2npgB1o=; b=Rj1WiQUIX/8vpaCjnz8Y76N4uEYvg+E5RHEMlbxMbjubO1bnxHF6pwx1aJx+M1Gig2B6/q 06DvBFZywhkm03IBndxy7rYPw3l9mY363xcCmX9MHiMV+nxhqiRNTuP4EUDhyMnNqKLrB6 +8zsJN+7+b+oOYYcml/sPz8gm6+G+K4= X-MC-Unique: IsEWkhzrMKqtuo-atscXPA-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 6/6] rpm: use direct remote connection for Fedora >= 35 / RHEL >= 9 Date: Tue, 3 Aug 2021 17:07:54 +0100 Message-Id: <20210803160754.3333793-7-berrange@redhat.com> In-Reply-To: <20210803160754.3333793-1-berrange@redhat.com> References: <20210803160754.3333793-1-berrange@redhat.com> 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.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@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) X-ZM-MESSAGEID: 1628009355736100003 Signed-off-by: Daniel P. Berrang=C3=A9 --- libvirt.spec.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 44d1e7a3c3..af884f6126 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -1081,6 +1081,12 @@ exit 1 %define arg_libssh2 -Dlibssh2=3Ddisabled %endif =20 +%if %{with_modular_daemons} + %define arg_remote_mode -Dremote_default_mode=3Ddirect +%else + %define arg_remote_mode -Dremote_default_mode=3Dlegacy +%endif + %define when %(date +"%%F-%%T") %define where %(hostname) %define who %{?packager}%{!?packager:Unknown} @@ -1111,7 +1117,7 @@ export SOURCE_DATE_EPOCH=3D$(stat --printf=3D'%Y' %{_= specdir}/%{name}.spec) -Ddriver_vz=3Ddisabled \ -Ddriver_bhyve=3Ddisabled \ -Ddriver_ch=3Ddisabled \ - -Dremote_default_mode=3Dlegacy \ + %{?arg_remote_mode} \ -Ddriver_interface=3Denabled \ -Ddriver_network=3Denabled \ -Dstorage_fs=3Denabled \ --=20 2.31.1