Merge pull request #68 from plieven/iscsi-ls-url

iscsi-ls: add --url parameter
UTILS: Check that an iscsi url was provided on the command line before strdup()ing it
SCSI MODESELECT: leave the 4/8 byte header completely blank.
The convention is to not fill this header in when sending modeselect to a target
Add MODESENSE6/10 and MODESELECT6/10 support
Merge branch 'master' of github.com:sahlberg/libiscsi
Add POWER_CONDITION modepage marshalling/unmarshalling
TESTS: clear unit attention after changing SWP settings in the readonly test
Add SANITIZE_IN_PROGRESS ASCQ
Dont reference *pdu after it has been freed
Dont fail the login just because a sanitize is in progress
Add a test that a sanitize operation will continue across resets

Verify that abort task/abort task set/lun reset/warm reset/cold reset
and full blown session failures will not affect a sanitize that is in
progress
TESTS: Inquiry is still allowed while SANITIZE is running
TESTS: READ10 and STARTSTOPUNIT should fail while sanitize is in progress

Other commands should fail too  but we dont need to test them all
bump ABI version

The ABI version was changed many times since the first release, but no
one noticed.  Now that I am packaging a newer version of libiscsi
I need to bump the soname from 1 to 2, which will be (posthumously)
the ABI for 1.9.0.  Declare the next version to have ABI version 3.

Please do not hesitate to ask for review of header-file patches to
catch ABI changes (which should be avoided!).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
fix another aliasing problem

scsi_set_uint64 should just use scsi_set_uint32, similar to
what scsi_get_uint64 does.  This avoids problems on architectures
where "uint32_t" requires more alignment than "char", e.g. ARM.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
avoid casting struct sockaddr

On ARM, this produces a warning.  Use a union instead.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Merge pull request #70 from bonzini/aliasing-more

More aliasing/alignment fixes
Merge pull request #69 from bonzini/abi

bump ABI version
Merge pull request #67 from plieven/small_allocations

MEMORY introduce a small allocation pool
use scsi_get/set_uint16/32/64 in tests

Fixes ARM problems too.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>