qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1662050] Re: qemu-img convert a overlay qcow2 image in


From: wayen
Subject: [Qemu-devel] [Bug 1662050] Re: qemu-img convert a overlay qcow2 image into a entire image
Date: Thu, 09 Feb 2017 02:05:54 -0000

@Eric Blake, I used virt-sparsify to sparsify the qcow2 overlay image.
As you said, the actual disk usage is minimized and the apparent file
size is unchanged.It is very valuable for me, because it means that my
disk can hold more files.

But we need to be careful when transfer the sparse qcow2 overlays.
Because some tools do not support sparse file and will convert it into a
common file,for example, scp. And I doubt what will happen when transfer
sparse files between different file systems.

So I want to use qemu-img to convert the sparse qcow2 overlay into
common file. If this was feasible, the holes in the sparse overlay will
be removed and the above problems will disappear.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1662050

Title:
  qemu-img convert a overlay qcow2 image into a entire image

Status in QEMU:
  Incomplete

Bug description:
  I have a base image file "base.qcow2" and a delta qcow2 image file
  "delta.qcow2" whose backing file is "base.qcow2".

  Now I use qemu-img to convert "delta.qcow2" and will get a new image
  file "new.qcow2" which is entire and equivalent to combination of
  "base.qcow2" and "delta.qcow2".

  In fact,I don't want to get a complete image.I just want to convert
  delta qcow2 image file "A" to a New delta overlay qcow2 image "B"
  which is equivalent to "A". So the "new.qcow2" is not what i want. I
  have to admit that this is not bug. Could you please take this as a
  new feature and enable qemu-img to convert qcow2 overlay itself?

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1662050/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]