On Sat, Sep 07, 2019 at 06:38:38PM -0400, Dmitry Fomichev wrote: > This commit adds Zoned Device Model (as defined in T10 ZBC and > T13 ZAC standards) as a block driver property, along with some > useful access functions. > > A new backend driver permission, BLK_PERM_SUPPORT_HM_ZONED, is also > introduced. Only the drivers having this permission will be allowed > to open host managed zoned block devices. > > No code is added yet to initialize or check the value of this new > property, therefore this commit doesn't change any functionality. > > Signed-off-by: Dmitry Fomichev <dmitry.fomic...@wdc.com> > Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com> > --- > block.c | 37 +++++++++++++++++++++++++++---------- > include/block/block.h | 21 +++++++++++++++++++-- > include/block/block_int.h | 3 +++ > qapi/block-core.json | 5 ++++- > 4 files changed, 53 insertions(+), 13 deletions(-) >
Acked-by: Stefano Garzarella <sgarz...@redhat.com>