Commit Graph

2061 Commits

Author SHA1 Message Date
Ronnie Sahlberg
b3e4ff657f Merge branch 'master' of github.com:sahlberg/libiscsi 2012-03-07 14:46:20 +11:00
Ronnie Sahlberg
c90f674a4d New version 1.2.0
This versions returns the library to the original name libiscsi
2012-03-07 14:32:51 +11:00
Ronnie Sahlberg
add1ce67e4 Revert "Rename libiscsi to libiscsiclient to avoid clash with obscure linux library"
We dont need to change name anymore so witch back to original libiscsi name

This reverts commit c4386dfb87.
2012-03-07 14:30:37 +11:00
Ronnie Sahlberg
afc68462f7 Update README to point to where release tarballs are and the mailinglist 2012-03-05 18:14:53 +11:00
Ronnie Sahlberg
9f8ad49133 We don't need COPYING.LESSES since we now provide explicite
copies of both GPLv2 and LGPLv2.1 licence texts
2012-03-05 13:51:10 +11:00
Ronnie Sahlberg
c2da7c9680 Update the licence texts 2012-03-05 13:50:10 +11:00
Ronnie Sahlberg
367f490edf Clarify the licencing terms in COPYING and also add explicit copies for GPL2/LGPL2.1 licence text 2012-03-04 16:50:10 +11:00
Ronnie Sahlberg
c4386dfb87 Rename libiscsi to libiscsiclient to avoid clash with obscure linux library
Change to version 2
2012-03-03 17:01:37 +11:00
Ronnie Sahlberg
2b521b4d24 TEST-TOOL: add test for read16/rdprotect 2012-02-05 07:56:35 +11:00
Ronnie Sahlberg
b4573178ca TEST-TOOL: Add test for read12/rdprotect 2012-02-05 07:52:30 +11:00
Ronnie Sahlberg
0a0dfc4d65 TEST-TOOL: only do the read10 rdprotect test for SBC devices 2012-02-05 07:39:10 +11:00
Ronnie Sahlberg
32ba166040 TEST-TOOL: READ10 with invalid rdprotect should fail with invalid_field_in_cdb 2012-02-05 07:35:33 +11:00
Ronnie Sahlberg
5c273ca58c Add VERIFY10 test for BYTCHK==0
If BYTCHK is zero  the target should NOT perform a compare of data in buffer with data on media, so if we send knowingly bad data to compare with
the target shall not detect the miscompare but return sgtatus good.
2012-01-27 16:35:23 +11:00
Ronnie Sahlberg
62684d641a Add a test to check that if we deliberately send wrong data to the target it will reposnd with sense MISMATCH
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2012-01-26 16:18:05 +11:00
Ronnie Sahlberg
cff996a96d VERIFY10: Add support for VERIFY10. Also add a simple test for verify10 2012-01-26 15:47:14 +11:00
Ronnie Sahlberg
b9bae6f4a7 Update libiscsi patch for sg3-utils to 1.32 2012-01-17 20:33:34 +11:00
Ronnie Sahlberg
6ecf536e86 Rename a varialbe to get rid of compiler warning 2011-12-31 10:31:23 +11:00
Ronnie Sahlberg
114c81390f Remove unused variable 2011-12-31 10:29:41 +11:00
Ronnie Sahlberg
d486d466c8 Cast an expression to get rid of a compiler warning 2011-12-31 10:28:34 +11:00
Ronnie Sahlberg
f4223d96c7 Remove unused variable 2011-12-31 10:26:43 +11:00
Ronnie Sahlberg
626734e52f Remove an unused variable 2011-12-31 10:25:52 +11:00
Ronnie Sahlberg
8e7e29a52b Remove an unused variable 2011-12-31 10:24:37 +11:00
Ronnie Sahlberg
72358be5a3 New version 1.1.0
This fixes a bug with AbortTask/AbortTaskSet sending the command to the wrong LUN
2011-12-25 07:09:02 +11:00
Ronnie Sahlberg
7b9bdaafb1 TMGMT: dont hardcode the lun we send to to 2, use the lun that is passed in as argument 2011-12-19 15:43:27 +11:00
Ronnie Sahlberg
fa4d3aa7eb README: We dont carry a patch for QEMU any more. 2011-10-29 11:36:38 +11:00
Ronnie Sahlberg
ee59afd87c Remove patch for QEMU
QEMU now contain the patches to link with and use libiscsi
so we dont need to carry an external patch for qemu in the libiscsi
package any more.
2011-10-29 08:14:07 +11:00
Ronnie Sahlberg
edf7f8eebe Merge pull request #5 from bonzini/libtool-and-rpm
Libtool and rpm
2011-10-28 13:54:15 -07:00
Paolo Bonzini
ebaecfa928 fix rpmlint problems
This fixes all rpmlint problems except for missing manpages and the
invalid URL for the tarball.
2011-10-28 17:05:00 +02:00
Paolo Bonzini
b4bddce2c6 compile the library if popt is not available 2011-10-28 17:05:00 +02:00
Paolo Bonzini
a235a20fda remove LOGDIR
It looks unused
2011-10-28 17:05:00 +02:00
Paolo Bonzini
17319072b1 use automake and libtool
This commits replaces the handwritten makefile with automake+libtool.
There is some hackery needed for the LD_PRELOAD shared library,
but apart from that there is nothing special and it is a large gain in
portability and standardization.

The spec file is modified as little as is needed to properly build
the RPMs.
2011-10-28 17:04:59 +02:00
Paolo Bonzini
d56fa027ff add .gitignore 2011-10-28 16:39:24 +02:00
Paolo Bonzini
d1f2f854da ld_iscsi: use constructor attribute
This is cleaner, and libtool otherwise complains.
2011-10-28 15:54:03 +02:00
Paolo Bonzini
ae5caa645f add LGPL file 2011-10-28 15:53:25 +02:00
Ronnie Sahlberg
9bfc3f095d Logout processing is a bit broken since it does not update the cmdsn properly
Copy the code to initialize the cmdsn and expstatsn from nop.c
2011-10-16 13:58:07 +11:00
Ronnie Sahlberg
2f23773390 add sync write10 2011-09-29 22:01:53 +10:00
Ronnie Sahlberg
ad7651006d Merge pull request #4 from bonzini/master
warning fixes for libiscsi
2011-09-21 03:09:54 -07:00
Paolo Bonzini
217bf6f53e fix warning from -Wswitch 2011-09-21 12:01:39 +02:00
Paolo Bonzini
a1975e90f6 fix warning from -Wuninitialized 2011-09-21 12:00:20 +02:00
Paolo Bonzini
c940381b59 fix warning from -Wsign-compare 2011-09-21 11:51:36 +02:00
Paolo Bonzini
b4a48511ff fix warning from -Wenum-compare 2011-09-21 11:49:58 +02:00
Ronnie Sahlberg
3c11c3598b Add a function to cancel a scsi task from libiscsi. 2011-09-19 21:21:40 +10:00
Ronnie Sahlberg
a974e8efe1 When a scsi task / pdu has been cancelled, pass back SCSI_STATUS_CANCELLED to the task callback and not default to SCSI_STATUS_ERROR 2011-09-19 21:12:32 +10:00
Ronnie Sahlberg
0a9049ad65 remove debug messages 2011-09-10 14:02:22 +10:00
Ronnie Sahlberg
49017fda58 OpenSolaris: Add support for opensolaris 2011-09-01 18:04:29 +10:00
Ronnie Sahlberg
57b9edabbf add windows as tested platform 2011-08-31 13:13:20 +10:00
Ronnie Sahlberg
c3d3123981 Windows: Add support to build as a DLL under windows 2011-08-31 13:12:30 +10:00
Ronnie Sahlberg
9f724b34f2 add cygwin and freebsd as tested platforms 2011-07-18 10:38:26 +10:00
Ronnie Sahlberg
cbc5bd5f96 only build the LD_PRELOAD hack on linux 2011-07-17 09:56:52 +10:00
Ronnie Sahlberg
768e6b5418 Merge pull request #3 from djs55/rpm-build-fix
Small patch to fix the RPM build on CentOS 5.5
2011-07-14 01:32:42 -07:00