OSDN Git Service

block/export: Move writable to BlockExportOptions
authorKevin Wolf <kwolf@redhat.com>
Thu, 24 Sep 2020 15:27:11 +0000 (17:27 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 2 Oct 2020 13:46:40 +0000 (15:46 +0200)
commit30dbc81d310cc5c78589ab689083371c4bfced1f
tree7e34f866a97b898cc010c72031b2ad99f945319c
parent8cade320c8838952b5f589c6df26b2e62dd099d7
block/export: Move writable to BlockExportOptions

The 'writable' option is a basic option that will probably be applicable
to most if not all export types that we will implement. Move it from NBD
to the generic BlockExport layer.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20200924152717.287415-26-kwolf@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/export/export.c
blockdev-nbd.c
nbd/server.c
qapi/block-export.json
qemu-nbd.c