]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: add support for libiscsi
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 21 Mar 2013 11:53:49 +0000 (12:53 +0100)
committerOsier Yang <jyang@redhat.com>
Fri, 22 Mar 2013 04:10:22 +0000 (12:10 +0800)
commit1a308ee015048267cd74ccb12d7ea3b14b6587d0
treed35b1b5255e3b8411143227d02328fe7d4d0b9c2
parentd450037740c8f320ff145a0459d7887bff7faafd
qemu: add support for libiscsi

libiscsi provides a userspace iSCSI initiator.

The main advantage over the kernel initiator is that it is very
easy to provide different initiator names for VMs on the same host.
Thus libiscsi supports usage of persistent reservations in the VM,
which otherwise would only be possible with NPIV.

libiscsi uses "iscsi" as the scheme, not "iscsi+tcp".  We can change
this in the tests (while remaining backwards-compatible manner, because
QEMU uses TCP as the default transport for both Gluster and NBD).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
docs/formatdomain.html.in
src/qemu/qemu_command.c
tests/qemuargv2xmltest.c
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-network-gluster.args
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-network-iscsi.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-network-iscsi.xml
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-network-nbd-ipv6-export.args
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-network-nbd-ipv6.args
tests/qemuxml2argvtest.c