blockdev: Allow more options for BB-less BDS tree
commitbd745e238bb9432f40c875b6b4ad96a3d90e16a0
authorMax Reitz <mreitz@redhat.com>
Mon, 19 Oct 2015 15:53:32 +0000 (19 17:53 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 23 Oct 2015 16:18:23 +0000 (23 18:18 +0200)
treee5bf8c302d445ed9057d95060eac757a8f290881
parentfbf8175eac92cca541efb1ac4a202fba941b78df
blockdev: Allow more options for BB-less BDS tree

Most of the options which blockdev_init() parses for both the
BlockBackend and the root BDS are valid for just the root BDS as well
(e.g. read-only). This patch allows specifying these options even if not
creating a BlockBackend.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockdev.c