block/rbd: remove processed options from qdict
commitbfb15b4becf2c9cf484bc3bf893a37c8f3c15cb3
authorJeff Cody <jcody@redhat.com>
Wed, 4 Apr 2018 15:40:45 +0000 (4 11:40 -0400)
committerJeff Cody <jcody@redhat.com>
Wed, 4 Apr 2018 16:05:13 +0000 (4 12:05 -0400)
tree1168031ae53aa978f3862f0902e266ee70acdd9f
parentfd69ad866b62ca8ed4337ffee83b6d82a4e99282
block/rbd: remove processed options from qdict

Commit 4bfb274 added some QAPIfication of option parsing in
qemu_rbd_open().  We need to remove all the options we processed,
otherwise in bdrv_open_inherit() we will think the remaining options are
invalid.

(This needs to go in 2.12 to avoid a regression that prevents rbd
from being opened.)

Suggested-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
block/rbd.c