Re: [Qemu-devel] [Qemu-block] Question regarding qemuimg check

2017-11-03 Thread Stefan Hajnoczi
On Tue, Oct 24, 2017 at 03:31:30PM +0300, Ala Hino wrote: > Can we always run qemu-img check with -r leaks option, even if there are no > leaks? Running "qemu-img check -r leaks" opens the file in read/write mode. It must only be used when the disk image is writable and the VM is not accessing it

Re: [Qemu-devel] [Qemu-block] Question regarding qemuimg check

2017-10-24 Thread Ala Hino
Thanks for the detailed reply, Stefan. Can we always run qemu-img check with -r leaks option, even if there are no leaks? On Tue, Oct 24, 2017 at 3:06 PM, Stefan Hajnoczi wrote: > On Mon, Oct 23, 2017 at 03:38:40PM +0300, Ala Hino wrote: > > I have a question regarding qemuimg check. We use qem

Re: [Qemu-devel] [Qemu-block] Question regarding qemuimg check

2017-10-24 Thread Stefan Hajnoczi
On Mon, Oct 23, 2017 at 03:38:40PM +0300, Ala Hino wrote: > I have a question regarding qemuimg check. We use qemuimg check in order to > get the offset of image. we need the offset to reduce the size of the image > to optimal. > > In BZ 1502488 , we are encoun