Revision b9a9b3a4 block.c
b/block.c | ||
---|---|---|
2837 | 2837 |
info->io_status = bs->iostatus; |
2838 | 2838 |
} |
2839 | 2839 |
|
2840 |
if (bs->dirty_bitmap) { |
|
2841 |
info->has_dirty = true; |
|
2842 |
info->dirty = g_malloc0(sizeof(*info->dirty)); |
|
2843 |
info->dirty->count = bdrv_get_dirty_count(bs) * |
|
2844 |
BDRV_SECTORS_PER_DIRTY_CHUNK * BDRV_SECTOR_SIZE; |
|
2845 |
} |
|
2846 |
|
|
2840 | 2847 |
if (bs->drv) { |
2841 | 2848 |
info->has_inserted = true; |
2842 | 2849 |
info->inserted = g_malloc0(sizeof(*info->inserted)); |
Also available in: Unified diff