From patchwork Wed Aug 8 23:44:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 143637 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1408202ljj; Wed, 8 Aug 2018 16:45:00 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzeMaiiB17DXflTsf6iX8jO+OXzLBV5AFayQM5ziFkM+0vYPKRPx9CLUrH0+9qXFOPYoIZW X-Received: by 2002:ac8:3864:: with SMTP id r33-v6mr4759241qtb.24.1533771900557; Wed, 08 Aug 2018 16:45:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533771900; cv=none; d=google.com; s=arc-20160816; b=rfoZcDqCtFcWZl5oMprdaYsvtVQhQnZL9nkLy4LxaHrWOHs2JmLg+rzUqxkhxAYBWZ oM7YOp5C7WkongRA2tL/WjR3/o2lEAGHXzHfYXIfjc/XfubNrITZveiiMkqPR4we0TsM 8egylTNxMkJb5URyRxWdy9ogl3oG7SckI6PeyYJ1Aes8wk/dDdHNL8PW8lXD0kHCE69b 0hPufXFgP/ZJrMQz02enIRCUWEWDEFyuWsZGAtjsKX/sB7GQn5Lw+d97y6jO+b+d7UKH tPCOmBuAAqafBZu6DbBkDd2imY3mnkfAmL8YvIyJ6masME/OY+7sWSfwuI+0wFK2i0Wn RLXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:delivered-to :arc-authentication-results; bh=5zeRHnGS6Vj87hGiJeIlwQQqVLwnR9YKCd/MFiK8h5U=; b=KoNBJBt/oJR6PQoC1gN2ozUdhWoo4XrrXC9mq950+NXw89j7giNE+olPf4m/FaeSp8 lzFAP2wEx/mh6SHz+DavFWx0UJGZ0MIiuo4hqKznnIrwq5eAngNfWYUGBTVdUkMnVqZ1 btZ5tViJi9fKI2stgEKMWvH/pcrwFmeznfiM0EgGUCocDCZnrv41RhmTJVSYd2km5YJy 9SVdRqXNQ9rOuvVCOm+nsXUwYpsq6n8/Rjf5rK1SGoacq9wwvkX5CZwdhBeffEEaGHg+ j/BbW5DeSbOaHkb5ZcJIXQhcfO0zqm5ognTEJMAc3hJKpsFNVBJGgy4Dgpv1t57BPuRR s/Fw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTPS id t185-v6si5469775qkd.342.2018.08.08.16.45.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Aug 2018 16:45:00 -0700 (PDT) Received-SPF: pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; Authentication-Results: mx.google.com; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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 749DE308A973; Wed, 8 Aug 2018 23:44:57 +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 3D04D6136F; Wed, 8 Aug 2018 23:44:56 +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 DA4784A460; Wed, 8 Aug 2018 23:44:53 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w78Niq5b021513 for ; Wed, 8 Aug 2018 19:44:52 -0400 Received: by smtp.corp.redhat.com (Postfix) id 48A946887B; Wed, 8 Aug 2018 23:44:52 +0000 (UTC) Delivered-To: libvirt-list@redhat.com Received: from worklaptop.redhat.com (ovpn-116-75.phx2.redhat.com [10.3.116.75]) by smtp.corp.redhat.com (Postfix) with ESMTP id CA2CB5C1A1; Wed, 8 Aug 2018 23:44:48 +0000 (UTC) From: Cole Robinson To: libvirt-list@redhat.com Date: Wed, 8 Aug 2018 19:44:44 -0400 Message-Id: <19d027484a5012a9d7bff51cf8535e237c909c07.1533771884.git.crobinso@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH] spec: Add libvirt-daemon-driver-storage-iscsi-direct 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 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.41]); Wed, 08 Aug 2018 23:44:59 +0000 (UTC) Signed-off-by: Cole Robinson --- libvirt.spec.in | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) -- 2.17.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list diff --git a/libvirt.spec.in b/libvirt.spec.in index 3edb60d2d2..09e69a9309 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -317,8 +317,10 @@ BuildRequires: /usr/bin/qemu-img %endif # For LVM drivers BuildRequires: lvm2 -# For ISCSI driver +# For pool type=iscsi BuildRequires: iscsi-initiator-utils +# For pool type=iscsi-direct +BuildRequires: libiscsi # For disk driver BuildRequires: parted-devel # For Multipath support @@ -591,6 +593,16 @@ The storage driver backend adding implementation of the storage APIs for iscsi volumes using the host iscsi stack. +%package daemon-driver-storage-iscsi-direct +Summary: Storage driver plugin for iscsi-direct +Requires: libvirt-daemon-driver-storage-core = %{version}-%{release} +Requires: libvirt-libs = %{version}-%{release} + +%description daemon-driver-storage-iscsi-direct +The storage driver backend adding implementation of the storage APIs for iscsi +volumes using libiscsi direct connection. + + %package daemon-driver-storage-mpath Summary: Storage driver plugin for multipath volumes Requires: libvirt-daemon-driver-storage-core = %{version}-%{release} @@ -667,6 +679,7 @@ Requires: libvirt-daemon-driver-storage-disk = %{version}-%{release} Requires: libvirt-daemon-driver-storage-logical = %{version}-%{release} Requires: libvirt-daemon-driver-storage-scsi = %{version}-%{release} Requires: libvirt-daemon-driver-storage-iscsi = %{version}-%{release} +Requires: libvirt-daemon-driver-storage-iscsi-direct = %{version}-%{release} Requires: libvirt-daemon-driver-storage-mpath = %{version}-%{release} %if %{with_storage_gluster} Requires: libvirt-daemon-driver-storage-gluster = %{version}-%{release} @@ -1174,6 +1187,7 @@ rm -f po/stamp-po --with-storage-fs \ --with-storage-lvm \ --with-storage-iscsi \ + --with-storage-iscsi-direct \ --with-storage-scsi \ --with-storage-disk \ --with-storage-mpath \ @@ -1639,6 +1653,9 @@ exit 0 %files daemon-driver-storage-iscsi %{_libdir}/%{name}/storage-backend/libvirt_storage_backend_iscsi.so +%files daemon-driver-storage-iscsi-direct +%{_libdir}/%{name}/storage-backend/libvirt_storage_backend_iscsi-direct.so + %files daemon-driver-storage-mpath %{_libdir}/%{name}/storage-backend/libvirt_storage_backend_mpath.so