From nobody Sun Feb 8 07:08:07 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1531265703738263.186992898153; Tue, 10 Jul 2018 16:35:03 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id B851D30E6851; Tue, 10 Jul 2018 23:35: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 762126016F; Tue, 10 Jul 2018 23:35: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 9C95018037ED; Tue, 10 Jul 2018 23:35:00 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w6ANYwt0003960 for ; Tue, 10 Jul 2018 19:34:58 -0400 Received: by smtp.corp.redhat.com (Postfix) id 57A8B5D75A; Tue, 10 Jul 2018 23:34:58 +0000 (UTC) Received: from mx1.redhat.com (ext-mx03.extmail.prod.ext.phx2.redhat.com [10.5.110.27]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 492295D750; Tue, 10 Jul 2018 23:34:54 +0000 (UTC) Received: from mail-qk0-f193.google.com (mail-qk0-f193.google.com [209.85.220.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8283881F01; Tue, 10 Jul 2018 23:34:43 +0000 (UTC) Received: by mail-qk0-f193.google.com with SMTP id d22-v6so12539300qkc.8; Tue, 10 Jul 2018 16:34:43 -0700 (PDT) Received: from localhost.localdomain ([179.185.212.58]) by smtp.gmail.com with ESMTPSA id r185-v6sm7918363qkf.53.2018.07.10.16.34.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Jul 2018 16:34:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qB/fNDwnGLb6qs+0dG/GBNBuVcqdV7Iu/QDDPgIvNms=; b=caDdWXPoiFg2DlF6qoq+L0C9FMUkrjGbFAkGg9Fx5FzJ1nKNL8wXWCy1nps4WQpjM1 TaSzS2f3KAxDgJ3e0FHgFnMN2cnCoaZPPxCVa1/5BSqRJq5cW7A0FBbykPt/PpVJkvyj tlEtl4BiirXTo2qpgJNK3/1OMA8TBgzCbSQ1IlwJ2zTyIEa74kMThOLmhB8EqGB92h0s +MuikbwyulribKSx0Y6gI54OY60cpjwyEJ4RB4+XjfLxbtH7O7cTMQLP/VTjYTYfqdh8 jpziz6hUXMA4FaMjfzo2eaAunYAAzE8bqfkZWpfwFhfRQKFPjm33z9noXAG2fVam0Z51 VozA== 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; bh=qB/fNDwnGLb6qs+0dG/GBNBuVcqdV7Iu/QDDPgIvNms=; b=sqLH/Yxha+E5JB5W2ZK3bVTKK4Gmscz90q6Yk1bFueOmji5mEIRuLyZHrvfjNnYyQK vlwhflYmG80+ZFnesxTTp3+k0zwNQ/weueSCGmmzZdZ92xbofs/K0s5VCUyAC+71WNU5 s/mnJdukrO+ObJBBLmk5GeSQOto1npmEOjEHXKH6IrZqjSNkfxr8Axut5kHPjbTR93V/ J8fkfA9zjP4vBVqwpVRdAHrBCdvvl6+culUtn7xCU+z47VcHkZhmllhPAYeeqbO9ctwu UVPkSKt/KRwtkZ2TZdatYK/WjaWO8/iB88Bz+ChnokUyFpFutGJR/+K5YiZyUDYgHT/U bYjA== X-Gm-Message-State: APt69E06FnM2yFQCZS+IOyOWd6rm2PrCdgQ+/7P4pIcPMszJg3IELEb7 9PW2C3IdsFfHvHXjB3u3hFBXLQ== X-Google-Smtp-Source: AAOMgpc1Icwh1krgsdht2hjWC9fVdT5Wp0Q5YfvMSwHBFjDA7r6D4dq74GwZ55JCdA9dNsuz82zjHg== X-Received: by 2002:a37:188c:: with SMTP id 12-v6mr23992023qky.72.1531265682241; Tue, 10 Jul 2018 16:34:42 -0700 (PDT) From: Marcos Paulo de Souza To: libvir-list@redhat.com Date: Tue, 10 Jul 2018 20:30:58 -0300 Message-Id: <20180710233102.28186-2-marcos.souza.org@gmail.com> In-Reply-To: <20180710233102.28186-1-marcos.souza.org@gmail.com> References: <20180710233102.28186-1-marcos.souza.org@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Tue, 10 Jul 2018 23:34:43 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Tue, 10 Jul 2018 23:34:43 +0000 (UTC) for IP:'209.85.220.193' DOMAIN:'mail-qk0-f193.google.com' HELO:'mail-qk0-f193.google.com' FROM:'marcos.souza.org@gmail.com' RCPT:'' X-RedHat-Spam-Score: 1.281 * (DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, NML_ADSP_CUSTOM_MED, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS, T_DKIM_INVALID) 209.85.220.193 mail-qk0-f193.google.com 209.85.220.193 mail-qk0-f193.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.27 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com Cc: mprivozn@redhat.com, Marcos Paulo de Souza Subject: [libvirt] [PATCH v3 1/5] driver.h: Add remoteOnly member to virConnectDriver struct 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: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Tue, 10 Jul 2018 23:35:02 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" This new flag will be set when a driver needs a remote URL in order to work, as ESX, HyperV and Phyp. Signed-off-by: Marcos Paulo de Souza --- src/driver.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/driver.h b/src/driver.h index 0b1f7a2269..c4d94ba294 100644 --- a/src/driver.h +++ b/src/driver.h @@ -81,6 +81,8 @@ typedef virConnectDriver *virConnectDriverPtr; struct _virConnectDriver { /* Wether driver permits a server in the URI */ bool localOnly; + /* Wether driver needs a server in the URI */ + bool remoteOnly; /* * NULL terminated list of supported URI schemes. * - Single element { NULL } list indicates no supported schemes --=20 2.17.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list