]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: pass iscsi authorization credentials
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 21 Mar 2013 11:53:54 +0000 (12:53 +0100)
committerOsier Yang <jyang@redhat.com>
Fri, 22 Mar 2013 04:10:23 +0000 (12:10 +0800)
commit523207fe8c9787f96c351db4ac8a1808386a007e
treec38e6915b560f5389925e70d85fd3f8a1bb75b48
parent6dca6d84ed0459d1135c2e73085163107c054b7e
qemu: pass iscsi authorization credentials

A better way to do this would be to use a configuration file like

   [iscsi "target-name"]
   user = name
   password = pwd

and pass it via -readconfig.  This would remove the username and password
from the "ps" output.  For now, however, keep this solution.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-disk-drive-network-iscsi-auth.args [new file with mode: 0644]
tests/qemuxml2argvtest.c