qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1410288] Re: qemu-img conversion to qcow2 hangs with blank image less than 100kiB
       [not found] <20150113143936.23767.65354.malonedeb@gac.canonical.com>
@ 2015-01-14  7:29 ` Neil Wilson
       [not found] ` <20150113164029.5063.34589.malone@chaenomeles.canonical.com>
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: Neil Wilson @ 2015-01-14  7:29 UTC (permalink / raw)
  To: qemu-devel

** Also affects: qemu
   Importance: Undecided
       Status: New

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

Title:
  qemu-img conversion to qcow2 hangs with blank image less than 100kiB

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Confirmed

Bug description:
  If you try to convert a blank image to qcow2 that is less than 100kiB
  in size then qemu-img hangs trying to seek to the end of the file.

  $ truncate --size 102399 /tmp/temp
  $ qemu-img convert -p -O qcow2 /tmp/temp /tmp/temp2.qcow2

  I'm finding this on all versions of qemu-img v2.

  strace shows a seek loop.

  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: qemu-utils 2.0.0+dfsg-2ubuntu1.10
  ProcVersionSignature: User Name 3.13.0-43.72-generic 3.13.11.11
  Uname: Linux 3.13.0-43-generic i686
  ApportVersion: 2.14.1-0ubuntu3.6
  Architecture: i386
  Date: Tue Jan 13 14:30:39 2015
  SourcePackage: qemu
  UpgradeStatus: No upgrade log present (probably fresh install)

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [Bug 1410288] Re: qemu-img conversion to qcow2 hangs with blank image less than 100kiB
       [not found] ` <20150113164029.5063.34589.malone@chaenomeles.canonical.com>
@ 2015-01-14 21:49   ` Serge Hallyn
  0 siblings, 0 replies; 5+ messages in thread
From: Serge Hallyn @ 2015-01-14 21:49 UTC (permalink / raw)
  To: qemu-devel

Does it also fail with the qemu from
https://launchpad.net/~ubuntu-virt/+archive/ubuntu/virt-daily-upstream ?
(This isn't quite git head, but it is qemu v2.2)

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

Title:
  qemu-img conversion to qcow2 hangs with blank image less than 100kiB

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Confirmed

Bug description:
  If you try to convert a blank image to qcow2 that is less than 100kiB
  in size then qemu-img hangs trying to seek to the end of the file.

  $ truncate --size 102399 /tmp/temp
  $ qemu-img convert -p -O qcow2 /tmp/temp /tmp/temp2.qcow2

  I'm finding this on all versions of qemu-img v2.

  strace shows a seek loop.

  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: qemu-utils 2.0.0+dfsg-2ubuntu1.10
  ProcVersionSignature: User Name 3.13.0-43.72-generic 3.13.11.11
  Uname: Linux 3.13.0-43-generic i686
  ApportVersion: 2.14.1-0ubuntu3.6
  Architecture: i386
  Date: Tue Jan 13 14:30:39 2015
  SourcePackage: qemu
  UpgradeStatus: No upgrade log present (probably fresh install)

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] [Bug 1410288] Re: qemu-img conversion to qcow2 hangs with blank image less than 100kiB
       [not found] <20150113143936.23767.65354.malonedeb@gac.canonical.com>
  2015-01-14  7:29 ` [Qemu-devel] [Bug 1410288] Re: qemu-img conversion to qcow2 hangs with blank image less than 100kiB Neil Wilson
       [not found] ` <20150113164029.5063.34589.malone@chaenomeles.canonical.com>
@ 2015-01-14 21:55 ` Serge Hallyn
  2016-01-12 22:31 ` pranith
  2016-11-07 11:30 ` Robie Basak
  4 siblings, 0 replies; 5+ messages in thread
From: Serge Hallyn @ 2015-01-14 21:55 UTC (permalink / raw)
  To: qemu-devel

Went ahead and tested - it is in fact fixed in the v2.2 version.

** Changed in: qemu (Ubuntu)
   Importance: Undecided => Medium

** Changed in: qemu (Ubuntu)
       Status: Confirmed => Triaged

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

Title:
  qemu-img conversion to qcow2 hangs with blank image less than 100kiB

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Triaged

Bug description:
  If you try to convert a blank image to qcow2 that is less than 100kiB
  in size then qemu-img hangs trying to seek to the end of the file.

  $ truncate --size 102399 /tmp/temp
  $ qemu-img convert -p -O qcow2 /tmp/temp /tmp/temp2.qcow2

  I'm finding this on all versions of qemu-img v2.

  strace shows a seek loop.

  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: qemu-utils 2.0.0+dfsg-2ubuntu1.10
  ProcVersionSignature: User Name 3.13.0-43.72-generic 3.13.11.11
  Uname: Linux 3.13.0-43-generic i686
  ApportVersion: 2.14.1-0ubuntu3.6
  Architecture: i386
  Date: Tue Jan 13 14:30:39 2015
  SourcePackage: qemu
  UpgradeStatus: No upgrade log present (probably fresh install)

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] [Bug 1410288] Re: qemu-img conversion to qcow2 hangs with blank image less than 100kiB
       [not found] <20150113143936.23767.65354.malonedeb@gac.canonical.com>
                   ` (2 preceding siblings ...)
  2015-01-14 21:55 ` Serge Hallyn
@ 2016-01-12 22:31 ` pranith
  2016-11-07 11:30 ` Robie Basak
  4 siblings, 0 replies; 5+ messages in thread
From: pranith @ 2016-01-12 22:31 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: New => Fix Released

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

Title:
  qemu-img conversion to qcow2 hangs with blank image less than 100kiB

Status in QEMU:
  Fix Released
Status in qemu package in Ubuntu:
  Triaged

Bug description:
  If you try to convert a blank image to qcow2 that is less than 100kiB
  in size then qemu-img hangs trying to seek to the end of the file.

  $ truncate --size 102399 /tmp/temp
  $ qemu-img convert -p -O qcow2 /tmp/temp /tmp/temp2.qcow2

  I'm finding this on all versions of qemu-img v2.

  strace shows a seek loop.

  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: qemu-utils 2.0.0+dfsg-2ubuntu1.10
  ProcVersionSignature: User Name 3.13.0-43.72-generic 3.13.11.11
  Uname: Linux 3.13.0-43-generic i686
  ApportVersion: 2.14.1-0ubuntu3.6
  Architecture: i386
  Date: Tue Jan 13 14:30:39 2015
  SourcePackage: qemu
  UpgradeStatus: No upgrade log present (probably fresh install)

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] [Bug 1410288] Re: qemu-img conversion to qcow2 hangs with blank image less than 100kiB
       [not found] <20150113143936.23767.65354.malonedeb@gac.canonical.com>
                   ` (3 preceding siblings ...)
  2016-01-12 22:31 ` pranith
@ 2016-11-07 11:30 ` Robie Basak
  4 siblings, 0 replies; 5+ messages in thread
From: Robie Basak @ 2016-11-07 11:30 UTC (permalink / raw)
  To: qemu-devel

qemu is 2.5 in 16.04 and 2.6.1 in Zesty, so this is presumably Fix
Released now. If incorrect, please explain and reopen.

** Changed in: qemu (Ubuntu)
       Status: Triaged => Fix Released

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

Title:
  qemu-img conversion to qcow2 hangs with blank image less than 100kiB

Status in QEMU:
  Fix Released
Status in qemu package in Ubuntu:
  Fix Released

Bug description:
  If you try to convert a blank image to qcow2 that is less than 100kiB
  in size then qemu-img hangs trying to seek to the end of the file.

  $ truncate --size 102399 /tmp/temp
  $ qemu-img convert -p -O qcow2 /tmp/temp /tmp/temp2.qcow2

  I'm finding this on all versions of qemu-img v2.

  strace shows a seek loop.

  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0
  ioctl(6, FS_IOC_FIEMAP, 0xb5e68dc4)     = 0
  _llseek(6, 0, [100000], SEEK_END)       = 0

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: qemu-utils 2.0.0+dfsg-2ubuntu1.10
  ProcVersionSignature: User Name 3.13.0-43.72-generic 3.13.11.11
  Uname: Linux 3.13.0-43-generic i686
  ApportVersion: 2.14.1-0ubuntu3.6
  Architecture: i386
  Date: Tue Jan 13 14:30:39 2015
  SourcePackage: qemu
  UpgradeStatus: No upgrade log present (probably fresh install)

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-11-07 11:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20150113143936.23767.65354.malonedeb@gac.canonical.com>
2015-01-14  7:29 ` [Qemu-devel] [Bug 1410288] Re: qemu-img conversion to qcow2 hangs with blank image less than 100kiB Neil Wilson
     [not found] ` <20150113164029.5063.34589.malone@chaenomeles.canonical.com>
2015-01-14 21:49   ` Serge Hallyn
2015-01-14 21:55 ` Serge Hallyn
2016-01-12 22:31 ` pranith
2016-11-07 11:30 ` Robie Basak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).