Re: [Qemu-devel] [PATCH] iotests: Make 150 use qemu-img map instead of du

2016-04-08 Thread Kevin Wolf
Am 08.04.2016 um 12:30 hat Paolo Bonzini geschrieben: > > > On 29/03/2016 18:24, Max Reitz wrote: > > The actual on-disk size of a file does not only depend on factors qemu > > can control. Thus, we should not depend on this to determine whether a > > file has indeed been fully allocated. Instead

Re: [Qemu-devel] [PATCH] iotests: Make 150 use qemu-img map instead of du

2016-04-08 Thread Paolo Bonzini
On 29/03/2016 18:24, Max Reitz wrote: > The actual on-disk size of a file does not only depend on factors qemu > can control. Thus, we should not depend on this to determine whether a > file has indeed been fully allocated. Instead, use qemu-img map and hope > that if an area is referenced, it is

[Qemu-devel] [PATCH] iotests: Make 150 use qemu-img map instead of du

2016-03-29 Thread Max Reitz
The actual on-disk size of a file does not only depend on factors qemu can control. Thus, we should not depend on this to determine whether a file has indeed been fully allocated. Instead, use qemu-img map and hope that if an area is referenced, it is indeed allocated, too. Also, limit the support