block/nbd: Store runtime option values
authorMax Reitz <mreitz@redhat.com>
Mon, 15 Aug 2016 13:29:26 +0000 (15:29 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 15 Aug 2016 13:52:29 +0000 (15:52 +0200)
commit03504d05f0618d1773d2335138fd7b8b18f32afb
tree69e3b1cae39c4cb28aba31da6d4b3effdc19a721
parent036990d72b00c920fc10158c14259fb59dbe61a1
block/nbd: Store runtime option values

Store the runtime option values in the BDRVNBDState so they can later be
used in nbd_refresh_filename() without having to directly access the
options QDict which may contain values of non-string types.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/nbd.c