]> Git Repo - qemu.git/commit
iscsi: Handle -iscsi user/password in bdrv_parse_filename()
authorKevin Wolf <[email protected]>
Thu, 8 Dec 2016 13:23:07 +0000 (14:23 +0100)
committerJeff Cody <[email protected]>
Tue, 21 Feb 2017 15:36:57 +0000 (10:36 -0500)
commit4317142020921c6dcdcfda7a349a91088d969f14
treede4acfa4bdbec9348940a0897314156d4f803650
parentd5895fcb1de8f6de3cc63a413d7052b98091e191
iscsi: Handle -iscsi user/password in bdrv_parse_filename()

This splits the logic in the old parse_chap() function into a part that
parses the -iscsi options into the new driver-specific options, and
another part that actually applies those options (called apply_chap()
now).

Note that this means that username and password specified with -iscsi
only take effect when a URL is provided. This is intentional, -iscsi is
a legacy interface only supported for compatibility, new users should
use the proper driver-specific options.

Reviewed-by: Fam Zheng <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
Signed-off-by: Jeff Cody <[email protected]>
block/iscsi.c
This page took 0.025693 seconds and 4 git commands to generate.