From: Ronnie Sahlberg
This patch updates the iscsi layer to automatically pick a 'unique'
initiator-name based on the name of the vm in case the user has not set an
explicit iqn-name to use.
Create a new function qemu_get_vm_name() that returns the name of the VM, if
specified.
This way we c
From: Ronnie Sahlberg
This patch adds a new block driver : block.iscsi.c
This driver interfaces with the multiplatform posix library
for iscsi initiator/client access to iscsi devices hosted at
git://github.com/sahlberg/libiscsi.git
The patch adds the driver to interface with the iscsi library.
iSCSI block driver for QEMU
Please find an updated iSCSI patch.
This patch adds setting FUA on all writes when the bit
BDRV_O_CACHE_WB is not set.
regards
ronnie sahlberg
From: Ronnie Sahlberg
Subject: iSCSI support for QEMU, update
In-Reply-To:
From: Ronnie Sahlberg
This patch adds a new block driver : block.iscsi.c
This driver interfaces with the multiplatform posix library
for iscsi initiator/client access to iscsi devices hosted at
git://github.com/sahlberg/libiscsi.git
The patch adds the driver to interface with the iscsi library.
The following patch adds a new block driver to QEMU/KVM for iSCSI.
This utilizes the userspace client library for iscsi at
https://github.com/sahlberg/libiscsi and will link with this library if
available.
This allows using iSCSI resources with QEMU/KVM without making them visible to
the underl
From: Ronnie Sahlberg
iscsi client library : connect.c
This file contains helper functions to make simples use of iscsi resources
easier by for example baking tcp connect, login, testunit ready, verifying
device is available,
into one simple to use function.
...
./block/iscsi/ contains a cop
From: Ronnie Sahlberg
iscsi client library : sync.c
This file contains functions for implementing a synchronous api layers
ontop of the asynchronous library.
These functions are all synchronous and thus blocking making them'
useful mainly for simple applications where ease of use if more impor
From: Ronnie Sahlberg
add iscsi.c and the iscsi library to the makefile sot it gets built
Signed-off-by: Ronnie Sahlberg
---
Makefile |2 +-
Makefile.objs |9 +
2 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index c80566c..6efdf14 10064
From: Ronnie Sahlberg
iscsi client library : scsi-lowlevel.c
This file contains functions for marshalling and unmarshalling
scsi CDB blocks and DATA-IN/DATA-OUT blocks.
This currently supports only small subset of SCSI opcodes
but the hope is contributions will expand its coverage over time.
From: Ronnie Sahlberg
iscsi client library : *.h
These files contain the heade declaraions, typedefs and useful macros
used by the iscsi client library.
...
./block/iscsi/ contains a copy of a general purpose iscsi client
library which is aimed at providing a clientside api for iscsi
for both
From: Ronnie Sahlberg
iscsi client library : login.c
This file contains functions associated with loggign in to a
target, negotiating session parameters and logging out from a
target.
Login negitiation is currently limited in scope and functionality
but can log in successfully to TGTD targets
From: Ronnie Sahlberg
iscsi client library : pdu.c
This file contains functions for basic manipulation of iscsi PDUs and their
flags as well as tracking and matching relations between requests,
data-in, data-out and responses.
...
./block/iscsi/ contains a copy of a general purpose iscsi cli
From: Ronnie Sahlberg
iscsi client library : scsi-command.c
This file contains functions for providing a fully async and fully
nonblocking interface to send scsi commands to a target and
handle replies coming back.
This layer is fully async and nonblocking.
Client applications can send and kee
From: Ronnie Sahlberg
This file provides a new protocol ISCSI to qemu and allows qemu
connect directly to iscsi resources, without having to go through
the host scsi layer.
This allows qemu/kvm to use iscsi devices without exposing these
to the host system and without polluting the page cache of
From: Ronnie Sahlberg
iscsi client library : socket.c
This file contains functions for basic manipulation of the socket
used to talk to a iscsi target.
This includes, connect, disconnect, basic primitives for interfacing
with an external eventsystem, reading and writing to the socket.
The sock
From: Ronnie Sahlberg
iscsi client library : nop.c
This file contains functions for processing of initiator initiated
NOP exchanges.
While target initiated exchanged look virtually identical, these
are not implemented.
TGTD iscsin target does not use target initiated nop exchanges
but other ta
From: Ronnie Sahlberg
iscsi client library : crc32c.c
This file contains functions for computing the crc32c used by
iscsi header digest and icsi data digest to ensure data integrity
across the transport.
...
./block/iscsi/ contains a copy of a general purpose iscsi client
library which is aim
From: Ronnie Sahlberg
iscsi client library : discovery.c
This file contains functions for managing discovery sessions
used by iscsi clients to discover which targets may be present behind
a particular iscsi portal.
...
./block/iscsi/ contains a copy of a general purpose iscsi client
library w
From: Ronnie Sahlberg
iscsi client library : init.c
This file contains functions to create a iscsi context,
destroy a context, error reporting api, as well
as basic functions to manipulate properties of an iscsi context.
...
./block/iscsi/ contains a copy of a general purpose iscsi client
lib
This series of pathces adds built in iscsi support to qemu.
The first 12 patches 14 adds a general purpose iscsi client library
in a separate subdirectory ./block/iscsi
that is aimed at being useful not only for kvm/qemu but for all scsi
relates applications.
Patch 13 adds the block driver ./block
20 matches
Mail list logo