Revision 60651f90 block/qcow2-cluster.c
b/block/qcow2-cluster.c | ||
---|---|---|
759 | 759 |
* restarted, but the whole request should not be failed. |
760 | 760 |
*/ |
761 | 761 |
static int do_alloc_cluster_offset(BlockDriverState *bs, uint64_t guest_offset, |
762 |
uint64_t *host_offset, unsigned int *nb_clusters, uint64_t *l2_table)
|
|
762 |
uint64_t *host_offset, unsigned int *nb_clusters) |
|
763 | 763 |
{ |
764 | 764 |
BDRVQcowState *s = bs->opaque; |
765 | 765 |
int64_t cluster_offset; |
... | ... | |
919 | 919 |
|
920 | 920 |
/* Allocate, if necessary at a given offset in the image file */ |
921 | 921 |
ret = do_alloc_cluster_offset(bs, alloc_offset, &alloc_cluster_offset, |
922 |
&nb_clusters, l2_table);
|
|
922 |
&nb_clusters); |
|
923 | 923 |
if (ret == -EAGAIN) { |
924 | 924 |
goto again; |
925 | 925 |
} else if (ret < 0) { |
Also available in: Unified diff