From nobody Sun Feb 8 14:51:57 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 1531265721246518.9993788116609; Tue, 10 Jul 2018 16:35:21 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id 45EC78110C; Tue, 10 Jul 2018 23:35:19 +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 074A45DD6F; Tue, 10 Jul 2018 23:35:19 +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 9D00E4A46D; Tue, 10 Jul 2018 23:35:18 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w6ANZAmJ004004 for ; Tue, 10 Jul 2018 19:35:10 -0400 Received: by smtp.corp.redhat.com (Postfix) id F3E1AC683B; Tue, 10 Jul 2018 23:35:09 +0000 (UTC) Received: from mx1.redhat.com (ext-mx09.extmail.prod.ext.phx2.redhat.com [10.5.110.38]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EBA08BB907; Tue, 10 Jul 2018 23:35:07 +0000 (UTC) Received: from mail-qt0-f195.google.com (mail-qt0-f195.google.com [209.85.216.195]) (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 A0E854E90E; Tue, 10 Jul 2018 23:34:56 +0000 (UTC) Received: by mail-qt0-f195.google.com with SMTP id m13-v6so19925423qth.1; Tue, 10 Jul 2018 16:34:56 -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.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Jul 2018 16:34:54 -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=1OcYfDKeqQFR2DKDXc518NAEyUxqxOMuGW+7sdp5N8U=; b=fRt1I1t6pGeYmLMEwlZsycF4duItStx7RvsMIvpSmuQGe3U09csnMwTEyTSDPYDHSd YBVhrBtH+FcIvy7QaXns5UZYvW6LYU59orPpb6sEsQiJBH2QR5ENtGgo+wVa/LtRm7sR q9uJvdcLo1A3iz5pB+ufLMmeI9ynAH3avkdt3eydBc5XZTgNAvJSY1S7Lq4rX6opy5Dl kdS1zL9tw2gnCzMN+G9N/ReHC+OeTuPb15rnUk91THlyOukIww6iO+lzZjDPCsMjWBe5 +iTeIzbyccvZtvlds3+PMBUEctb8H0N/XqTSk9qm5V/p/tQHi6t2ROrIkojyrfNSHPU2 SiKQ== 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=1OcYfDKeqQFR2DKDXc518NAEyUxqxOMuGW+7sdp5N8U=; b=OQUr5sgTzLDkuWl1bmRPN+0U1JoTlkhqk5LIc3EYmIn0P3vqC337uZm5RVNZWc2iRF qdEbzcEDudm5OapbsTLIXA9uvrUvlaiaHxZFi499bvl1mjoILg5ODVrIB/y+R0P2azX/ CplD2bu2kKKl3nrdPMGFnsdI2zpFAv0Hw2/fWwvoeLFl2+DLaT6hf6IyKiqXkJcrbr/i 3nwlEHF4qquBHmQrfqnwc0sqx98oegASbGYlFMADgVXLgoclugowZxLVlX6WLqFPkZDq eO9x9Qz/pd7r0fHSpdsFH1NB9BGt4bGGX8asSOL7Lgqc5ty3aTc6ID6YwviAp7uF7zTF oshQ== X-Gm-Message-State: APt69E1lkxjL956ewxlt+2dup1rnJOS/1NFDWOJE9h+MISMZ5sXwdVf4 9Nq8g9BEeagckAA4JGBUo6AaQQ== X-Google-Smtp-Source: AAOMgpcqjZKYhGI8+32VHNNNfFcbYm5HwDX3oTQ42cMihtfx2MCoQCFIzk5RDwazL2HW6rNFiu6gdw== X-Received: by 2002:aed:3608:: with SMTP id e8-v6mr25276165qtb.75.1531265695409; Tue, 10 Jul 2018 16:34:55 -0700 (PDT) From: Marcos Paulo de Souza To: libvir-list@redhat.com Date: Tue, 10 Jul 2018 20:31:02 -0300 Message-Id: <20180710233102.28186-6-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.38]); Tue, 10 Jul 2018 23:34:56 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Tue, 10 Jul 2018 23:34:56 +0000 (UTC) for IP:'209.85.216.195' DOMAIN:'mail-qt0-f195.google.com' HELO:'mail-qt0-f195.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.216.195 mail-qt0-f195.google.com 209.85.216.195 mail-qt0-f195.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.38 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.27 X-loop: libvir-list@redhat.com Cc: mprivozn@redhat.com, Marcos Paulo de Souza Subject: [libvirt] [PATCH v3 5/5] phyp_driver: Set remoteOnly member of virConnectDriver 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.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Tue, 10 Jul 2018 23:35:20 +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" Phyp driver can't function without a server being informed, so this flag makes libvirt to check for a valid server before calling connectOpen. Signed-off-by: Marcos Paulo de Souza --- src/phyp/phyp_driver.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/phyp/phyp_driver.c b/src/phyp/phyp_driver.c index 67ce7903ba..303a7151b7 100644 --- a/src/phyp/phyp_driver.c +++ b/src/phyp/phyp_driver.c @@ -1141,12 +1141,6 @@ phypConnectOpen(virConnectPtr conn, =20 virCheckFlags(VIR_CONNECT_RO, VIR_DRV_OPEN_ERROR); =20 - if (conn->uri->server =3D=3D NULL) { - virReportError(VIR_ERR_INTERNAL_ERROR, - "%s", _("Missing server name in phyp:// URI")); - return VIR_DRV_OPEN_ERROR; - } - if (VIR_ALLOC(phyp_driver) < 0) goto failure; =20 @@ -3764,6 +3758,7 @@ static virConnectDriver phypConnectDriver =3D { .hypervisorDriver =3D &phypHypervisorDriver, .interfaceDriver =3D &phypInterfaceDriver, .storageDriver =3D &phypStorageDriver, + .remoteOnly =3D true, }; =20 int --=20 2.17.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list