diff mbox series

spec: Add libvirt-daemon-driver-storage-iscsi-direct

Message ID 19d027484a5012a9d7bff51cf8535e237c909c07.1533771884.git.crobinso@redhat.com
State Accepted
Commit 34a6962c41b459f352fc0c3b69d36658b69a0f3a
Headers show
Series spec: Add libvirt-daemon-driver-storage-iscsi-direct | expand

Commit Message

Cole Robinson Aug. 8, 2018, 11:44 p.m. UTC
Signed-off-by: Cole Robinson <crobinso@redhat.com>

---
 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

Comments

Michal Prívozník Aug. 13, 2018, 1:45 p.m. UTC | #1
On 08/09/2018 01:44 AM, Cole Robinson wrote:
> Signed-off-by: Cole Robinson <crobinso@redhat.com>

> ---

>  libvirt.spec.in | 19 ++++++++++++++++++-

>  1 file changed, 18 insertions(+), 1 deletion(-)


ACK

Michal

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
diff mbox series

Patch

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