Message ID | 20170123123056.30383-3-famz@redhat.com |
---|---|
State | New |
Headers | show |
On 23.01.2017 13:30, Fam Zheng wrote: > Signed-off-by: Fam Zheng <famz@redhat.com> > --- > include/block/block.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/block/block.h b/include/block/block.h > index 8b0dcda..243839d 100644 > --- a/include/block/block.h > +++ b/include/block/block.h > @@ -97,6 +97,8 @@ typedef struct HDGeometry { > select an appropriate protocol driver, > ignoring the format layer */ > #define BDRV_O_NO_IO 0x10000 /* don't initialize for I/O */ > +#define BDRV_O_SHARE_RW 0x20000 /* accept shared read-write from other users > + of the image */ > > #define BDRV_O_CACHE_MASK (BDRV_O_NOCACHE | BDRV_O_NO_FLUSH) Reviewed-by: Max Reitz <mreitz@redhat.com>
diff --git a/include/block/block.h b/include/block/block.h index 8b0dcda..243839d 100644 --- a/include/block/block.h +++ b/include/block/block.h @@ -97,6 +97,8 @@ typedef struct HDGeometry { select an appropriate protocol driver, ignoring the format layer */ #define BDRV_O_NO_IO 0x10000 /* don't initialize for I/O */ +#define BDRV_O_SHARE_RW 0x20000 /* accept shared read-write from other users + of the image */ #define BDRV_O_CACHE_MASK (BDRV_O_NOCACHE | BDRV_O_NO_FLUSH)
Signed-off-by: Fam Zheng <famz@redhat.com> --- include/block/block.h | 2 ++ 1 file changed, 2 insertions(+)