mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-30 12:04:07 +00:00
0e651cfe2e
variable was assigned the image offset in bytes and not in blocks (i.e. sectors). This had image_data() return FALSE, which meant that we didn't assign a cluster when we needed and also meant that we didn't write parts of the L2 table when we should have. The result being that the actual data clusters were written at the wrong offset. Improve support for QCOW version 2. We're having the right layout and even know how many refcnt blocks we need. All we need to do is populate the refcnt blocks for every cluster we write and allocate a cluster when we need a new refcnt block. The allocation part is tricky in that it'll interleave with the assignment of clusters to L2 tables and data. Since version 2 is not quite done, keep it compiled out for now. |
||
---|---|---|
.. | ||
tests | ||
apm.c | ||
bsd.c | ||
ebr.c | ||
format.c | ||
format.h | ||
gpt.c | ||
image.c | ||
image.h | ||
Makefile | ||
mbr.c | ||
mkimg.1 | ||
mkimg.c | ||
mkimg.h | ||
pc98.c | ||
qcow.c | ||
raw.c | ||
scheme.c | ||
scheme.h | ||
vhd.c | ||
vmdk.c | ||
vtoc8.c |