Package: qemu-utils
Version: 1:2.8+dfsg-6+deb9u8
Severity: important

Dear Maintainer,

I tried to consolidate a qcow2 disk with a backing chain to a new qcow2
disk without touching any of the original files.

In this backing chain I have one of the backing file that has been extended
with "qemu-img resize".

To consolidate I use "qemu-img convert" on the top file, but the process
never ends. When running with trace ('-T *') the process looks like stuck
in a loop.

How to reproduce:

  qemu-img create -f qcow2 disk0.qcow2 1G
  qemu-img create -f qcow2 -b disk0.qcow2 disk1.qcow2
  qemu-img resize disk1.qcow2 +1G
  qemu-img create -f qcow2 -b disk1.qcow2 disk2.qcow2
  qemu-img convert -O qcow2 disk2.qcow2 disk-all.qcow2

Converting from the extended disk is working:

  qemu-img convert -O qcow2 disk1.qcow2 disk-all.qcow2

Converting with buster version (1:3.1+dfsg-8+deb10u3) is working.

Thanks.

-- System Information:
Debian Release: 9.8
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages qemu-utils depends on:
ii  libaio1       0.3.110-3
ii  libc6         2.24-11+deb9u4
ii  libgcc1       1:6.3.0-18+deb9u1
ii  libglib2.0-0  2.50.3-2
ii  libgnutls30   3.5.8-5+deb9u4
ii  libnettle6    3.3-1+b2
ii  zlib1g        1:1.2.8.dfsg-5

qemu-utils recommends no packages.

Versions of packages qemu-utils suggests:
ii  debootstrap       1.0.89
pn  qemu-block-extra  <none>

-- no debconf information

Reply via email to