[libvirt] [PATCH 4/5]: Move the sendtarget command into the login command

Chris Lalancette clalance at redhat.com
Mon Jun 16 13:52:46 UTC 2008


A small bugfix; we only need to call the iscsiadm sendtarget command when we are
first logging in; we don't need to do it for logout.  Move the sendtarget
command into the Login() function.

Changes since last time:
1)  Make const char *cmdsendtarget into const char *const cmdsendtarget based on
feedback from Jim.

Signed-off-by: Chris Lalancette <clalance at redhat.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-iscsi-move-sendtarget-2.patch
Type: text/x-patch
Size: 1203 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080616/6c51082c/attachment-0001.bin>


More information about the libvir-list mailing list