block/iscsi: enable filename option and parsing
commit5c3ad1a6a8fa041c57403dbe1fc5927eec0be66b
authorJeff Cody <jcody@redhat.com>
Wed, 14 Jun 2017 12:53:20 +0000 (14 08:53 -0400)
committerJeff Cody <jcody@redhat.com>
Wed, 14 Jun 2017 21:39:46 +0000 (14 17:39 -0400)
tree6d4e011a60f6fa73bb8cdfd18b9b75bd484be0c2
parent91589d9e5ca658abcc915b078aaa66531a112348
block/iscsi: enable filename option and parsing

When enabling option parsing and blockdev-add for iscsi, we removed the
'filename' option.  Unfortunately, this was a bit optimistic, as
previous versions of QEMU allowed the use of the option in backing
filenames via json.  This means that without parsing this option, we
cannot open existing images that used to work fine.

See bug: https://bugzilla.redhat.com/show_bug.cgi?id=1457088

Tested-by: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: Jeff Cody <jcody@redhat.com>
Message-id: 0789ab6c32814ab4b6896707d378804bd4424c65.1497444637.git.jcody@redhat.com
Signed-off-by: Jeff Cody <jcody@redhat.com>
block/iscsi.c