On 2018-03-22 14:33, yuchen...@synology.com wrote: > From: yuchenlin <yuchen...@synology.com> > > VMDK has a hard limitation of extent size, which is due to the size of grain > table entry is 32 bits. It means it can only point to a grain located at > offset = 2^32. To avoid writing the user data beyond limitation and record a > useless offset > in grain table. We should return ERROR here. > > Signed-off-by: yuchenlin <yuchen...@synology.com> > --- > v2->v3: > - use (1ULL << 32) to clearly show the limitation of offset is 2^32. > > thanks > > block/vmdk.c | 6 ++++++ > 1 file changed, 6 insertions(+)
Thanks, applied to my block branch: https://github.com/XanClic/qemu/commits/block Max
signature.asc
Description: OpenPGP digital signature