block/rbd: enable filename option and parsing
commit91589d9e5ca658abcc915b078aaa66531a112348
authorJeff Cody <jcody@redhat.com>
Wed, 14 Jun 2017 12:53:19 +0000 (14 08:53 -0400)
committerJeff Cody <jcody@redhat.com>
Wed, 14 Jun 2017 21:39:46 +0000 (14 17:39 -0400)
tree11e2c7c4eba3f286446cf13d9a3fa6635262bf34
parent3f0602927b120a480b35dcf58cf6f95435b3ae91
block/rbd: enable filename option and parsing

When enabling option parsing and blockdev-add for rbd, 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: 937dc9fde348d13311eb8e23444df3bc3190b612.1497444637.git.jcody@redhat.com
Signed-off-by: Jeff Cody <jcody@redhat.com>
block/rbd.c