Revision 336c1c12 block_int.h
b/block_int.h | ||
---|---|---|
127 | 127 |
|
128 | 128 |
void (*bdrv_debug_event)(BlockDriverState *bs, BlkDebugEvent event); |
129 | 129 |
|
130 |
/* Set if newly created images are not guaranteed to contain only zeros */ |
|
131 |
int no_zero_init; |
|
130 |
/* |
|
131 |
* Returns 1 if newly created images are guaranteed to contain only |
|
132 |
* zeros, 0 otherwise. |
|
133 |
*/ |
|
134 |
int (*bdrv_has_zero_init)(BlockDriverState *bs); |
|
132 | 135 |
|
133 | 136 |
QLIST_ENTRY(BlockDriver) list; |
134 | 137 |
}; |
Also available in: Unified diff