From nobody Mon Feb 9 01:20:58 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 1531153401551213.14187251602016; Mon, 9 Jul 2018 09:23:21 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 06772356CA; Mon, 9 Jul 2018 16:23:20 +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 BCBF9100191C; Mon, 9 Jul 2018 16:23: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 68F794BB78; Mon, 9 Jul 2018 16:23:19 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w69GNApC020214 for ; Mon, 9 Jul 2018 12:23:10 -0400 Received: by smtp.corp.redhat.com (Postfix) id 8347A18529; Mon, 9 Jul 2018 16:23:10 +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 7B3672A2C4 for ; Mon, 9 Jul 2018 16:23:07 +0000 (UTC) Received: from mail-qt0-f193.google.com (mail-qt0-f193.google.com [209.85.216.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 8C0544E4CB for ; Mon, 9 Jul 2018 16:22:56 +0000 (UTC) Received: by mail-qt0-f193.google.com with SMTP id f1-v6so15849701qti.3 for ; Mon, 09 Jul 2018 09:22:56 -0700 (PDT) Received: from localhost.localdomain ([2804:7f5:d180:a608:24e1:ab77:9d92:aaf7]) by smtp.gmail.com with ESMTPSA id y21-v6sm2575094qtc.41.2018.07.09.09.22.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jul 2018 09:22: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=LURDq8TxswPyk/sBvqDAJj/bWyn8rXhLquwR5wtbIOq6bClRl6QasGrypn1EmPmjD/ qaO5TfyNJFoc3UF4zLegI4uSj8W4XVHwGPn74wgToQS/1zWFjLLB/VdQZx/X4N9FSIln tqTyTYJLYwESzD1C4AJE6xH/sLoJRroEAwkV1RaWLzxuCTArBbpD5Bg+jMEsBQZGr47r 6gY+sVPWvuLWC9RgVZREYri/O88Nf/+uT2DHMRHv7dAUovzWMQ4pYHP2sDkRNANq1qW9 /ql67MeO1bPXYGU5X9fiGU7AfPdsqxyC4gLcfgHAW9rNZFnghXG/wHvighKnYdFAP2kz UFGQ== 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=XznfCGxcjj1m0pypAtqR/WossYoFOYzAt23wYkCNelZ6KgFBuu7wYMiCuZ2+sKKziE dx5JGntasl5VqG64R1zDdl246h3rRWebYEZIMCdhxKiHa33d2kSRILdFSJ8GMGLyRpPq HM7xmUIHn13FI3ASUw2SYR1tamd9O32Dk4ODA/2GG/OpRNmrsQfLnGuXpseshVlQeLxX 1XKFZBr1GhHP6O+M+TWmUXO5izMPkY1QeG9zd4ltirR2/PUXYEiIOPp+Uau+QAE27Ks6 ptfkZpT2kAiJWjeHBd2SylJLQU7yhtFyB76SJ5q4UnvK1Xt3N5WV4tk5NZNVLlMoVk11 C6AA== X-Gm-Message-State: APt69E29PxfXtSBVDMHIeNS6bEsp8MoX4XQ2UhOkR/hTlgZpGtu0Ffv9 PuBODxojndGtyKY/fv6YHwzeVQ== X-Google-Smtp-Source: AAOMgpfOv9Dnpt2OJn1RqpTgWxiajXbgMfJHMaWE0WWaz/ry6mijBS3JdkV+yPoM0pO0VBLQWgW0iA== X-Received: by 2002:a0c:8a1b:: with SMTP id 27-v6mr18364357qvt.159.1531153375285; Mon, 09 Jul 2018 09:22:55 -0700 (PDT) From: Marcos Paulo de Souza To: libvir-list@redhat.com Date: Mon, 9 Jul 2018 13:22:23 -0300 Message-Id: <20180709162223.5239-6-marcos.souza.org@gmail.com> In-Reply-To: <20180709162223.5239-1-marcos.souza.org@gmail.com> References: <20180709162223.5239-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]); Mon, 09 Jul 2018 16:22:56 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 09 Jul 2018 16:22:56 +0000 (UTC) for IP:'209.85.216.193' DOMAIN:'mail-qt0-f193.google.com' HELO:'mail-qt0-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.216.193 mail-qt0-f193.google.com 209.85.216.193 mail-qt0-f193.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.38 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com Cc: Marcos Paulo de Souza Subject: [libvirt] [PATCH 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.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Mon, 09 Jul 2018 16:23: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