From nobody Sun Feb 8 11:07:10 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1533650137363315.4243795905153; Tue, 7 Aug 2018 06:55:37 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0B883307D85A; Tue, 7 Aug 2018 13:55:35 +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 CBE73300193C; Tue, 7 Aug 2018 13:55:34 +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 81F4E1800B6B; Tue, 7 Aug 2018 13:55:34 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w77DtWs3006389 for ; Tue, 7 Aug 2018 09:55:32 -0400 Received: by smtp.corp.redhat.com (Postfix) id 529412026D76; Tue, 7 Aug 2018 13:55:32 +0000 (UTC) Received: from antique-work.brq.redhat.com (unknown [10.43.2.152]) by smtp.corp.redhat.com (Postfix) with ESMTP id E5DC82026D66 for ; Tue, 7 Aug 2018 13:55:31 +0000 (UTC) From: Pavel Hrdina To: libvir-list@redhat.com Date: Tue, 7 Aug 2018 15:55:22 +0200 Message-Id: <64222d56fcaa1feffbca392d58ccd3dc43d0e480.1533650092.git.phrdina@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 3/9] conf: rename and move virStoragePoolSourceInitiatorAttr 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.26 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Tue, 07 Aug 2018 13:55:35 +0000 (UTC) X-ZohoMail: RDMRC_0 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" This structure will be reused by domain disk images as well. Signed-off-by: Pavel Hrdina Reviewed-by: J=EF=BF=BDn Tomko --- src/conf/storage_conf.h | 7 +------ src/util/virstoragefile.h | 6 ++++++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/conf/storage_conf.h b/src/conf/storage_conf.h index 858623783d..4d7abbbc98 100644 --- a/src/conf/storage_conf.h +++ b/src/conf/storage_conf.h @@ -140,11 +140,6 @@ struct _virStoragePoolSourceDeviceExtent { int type; /* virStorageFreeType */ }; =20 -typedef struct _virStoragePoolSourceInitiatorAttr virStoragePoolSourceInit= iatorAttr; -struct _virStoragePoolSourceInitiatorAttr { - char *iqn; /* Initiator IQN */ -}; - /* * Pools can be backed by one or more devices, and some * allow us to track free space on underlying devices. @@ -189,7 +184,7 @@ struct _virStoragePoolSource { char *name; =20 /* Initiator IQN */ - virStoragePoolSourceInitiatorAttr initiator; + virStorageSourceInitiatorDef initiator; =20 /* Authentication information */ virStorageAuthDefPtr auth; diff --git a/src/util/virstoragefile.h b/src/util/virstoragefile.h index c2c40edf68..d9e27a4a5f 100644 --- a/src/util/virstoragefile.h +++ b/src/util/virstoragefile.h @@ -226,6 +226,12 @@ struct _virStoragePRDef { char *mgralias; }; =20 +typedef struct _virStorageSourceInitiatorDef virStorageSourceInitiatorDef; +typedef virStorageSourceInitiatorDef *virStorageSourceInitiatorDefPtr; +struct _virStorageSourceInitiatorDef { + char *iqn; /* Initiator IQN */ +}; + typedef struct _virStorageDriverData virStorageDriverData; typedef virStorageDriverData *virStorageDriverDataPtr; =20 --=20 2.17.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list