From nobody Mon Feb 9 17:55:59 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=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.133.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=1623332774; cv=none; d=zohomail.com; s=zohoarc; b=Ce7tPpFoHDNgWntY4QLSPLg3ICLHb4iBsvMyKaSre+SHAgjrTHDd8XV2AszfIwSEkK23hh5/xZ0rIziXwZKgp4DOvIUg6VW5ptoJsKBrZ9z+ClzmQwiG0FctgATpg4duvkHLpCG83S9koWNHskXXTLEQEXanw/xiQGPSX6M5yIw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1623332774; 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=3X82U4aIfmVe5vpG5dOLpRCpsQMstSRLRvteryALA0A=; b=KMllFvJEPKN7qRjQtcErYuP8goYPYRhaFBlJJXvmo7h0izi4MuqGUZVfK0It7hG/J+LfH/KG8UexUlWbTGTA2G7531zzBP9BI5Ly83NopYm0msFKRbb5w7nYInNcGGbjPOmfGHezq+UqPrvwOGN3SBWmBVch6nAgFZ4oUscIRVg= 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=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.133.124]) by mx.zohomail.com with SMTPS id 1623332774756644.0912609035173; Thu, 10 Jun 2021 06:46: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-394-3jycADQMNYWrdKbjNbX-oQ-1; Thu, 10 Jun 2021 09:46:11 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2CA331927800; Thu, 10 Jun 2021 13:46:07 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0A7F35D9E2; Thu, 10 Jun 2021 13:46:07 +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 C2C3F46F5A; Thu, 10 Jun 2021 13:46:06 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 15ADhWth004249 for ; Thu, 10 Jun 2021 09:43:32 -0400 Received: by smtp.corp.redhat.com (Postfix) id 528C518A9E; Thu, 10 Jun 2021 13:43:32 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-115-203.ams2.redhat.com [10.36.115.203]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7CF59189BB; Thu, 10 Jun 2021 13:43:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623332773; 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=3X82U4aIfmVe5vpG5dOLpRCpsQMstSRLRvteryALA0A=; b=RoSpxqo5Kau/dNnPrL19xdG6J4VcvXARjVR1uuOk/XPChQJ4vIfbffdL44QRQsoLuXV8SX E4zaWUhC4mEfwRO3BVGf9kNcjZTA7BY+NsDnTdrSzU0XWkndT53kdMoqoXmlRaLuCfmVSs 5PDietb1j1QLy283y0eanRILsPe4oM0= X-MC-Unique: 3jycADQMNYWrdKbjNbX-oQ-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 4/4] remote: switch to auto-spawn modular daemons by default Date: Thu, 10 Jun 2021 14:43:17 +0100 Message-Id: <20210610134317.368010-5-berrange@redhat.com> In-Reply-To: <20210610134317.368010-1-berrange@redhat.com> References: <20210610134317.368010-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 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.14 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) When determining what socket path to connect to for a given URI we will - Connect to the driver specific daemon if its UNIX socket exists - Connect to libvirtd if its UNIX socket exists - If non-root, auto-spawn a daemon based on the default mode Historically the last point would result in spawning libvirtd, but with this change we now spawn a modular daemon. Remote client probing logic will pick a specific hypervisor daemon to connect to when the URI is NULL. Signed-off-by: Daniel P. Berrang=C3=A9 --- meson_options.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson_options.txt b/meson_options.txt index d0f84dbfa6..859ed36b8f 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -63,7 +63,7 @@ option('qemu_user', type: 'string', value: '', descriptio= n: 'username to run QEM option('qemu_group', type: 'string', value: '', description: 'groupname to= run QEMU system instance as') option('qemu_moddir', type: 'string', value: '', description: 'set the dir= ectory where QEMU modules are located') option('driver_remote', type: 'feature', value: 'auto', description: 'remo= te driver') -option('remote_default_mode', type: 'combo', choices: ['legacy', 'direct']= , value: 'legacy', description: 'remote driver default mode') +option('remote_default_mode', type: 'combo', choices: ['legacy', 'direct']= , value: 'direct', description: 'remote driver default mode') option('driver_secrets', type: 'feature', value: 'auto', description: 'loc= al secrets management driver') option('driver_test', type: 'feature', value: 'auto', description: 'test d= river') option('driver_vbox', type: 'feature', value: 'auto', description: 'Virtua= lBox XPCOMC driver') --=20 2.31.1