[Bug 198232] Re: file reports negative size for QCOW images

2011-10-22 Thread Steffen Röcker
** Changed in: file (Ubuntu)
   Status: Confirmed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/198232

Title:
  file reports negative size for QCOW images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/file/+bug/198232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 198232] Re: file reports negative size for QCOW images

2010-07-13 Thread Bug Watch Updater
** Changed in: file (Debian)
   Status: New = Fix Released

-- 
file reports negative size for QCOW images
https://bugs.launchpad.net/bugs/198232
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 198232] Re: file reports negative size for QCOW images

2009-02-03 Thread Adam Buchbinder
Attached find essentially the same debdiff I sent to Debian; it just has
the version number in it changed, and the changelog entry refers to the
Launchpad bug number rather than the Debian one. Apart from that, it's
the same patch.

As I said on the Debian bugtracker, I ran into two non-critical issues.
First, the backing-file name isn't stored in a NUL-terminated format;
pretending that it's NUL-terminated seems to work, but since I couldn't
figure out how to specify a string length based on an indirect value,
it's not being done the *right* way. Second, The offset to the backing-
file name in qcow2 images is a 64-bit quantity, but there's no way to
put in a 64-bit offset. I cheated and assumed that the top four bytes
are zero; this works on newly-created images, at least, though I can't
guarantee that it'll work in the general case.

** Attachment added: Debdiff against 4.26-2.
   http://launchpadlibrarian.net/21946270/198232-qemu.debdiff

-- 
file reports negative size for QCOW images
https://bugs.launchpad.net/bugs/198232
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 198232] Re: file reports negative size for QCOW images

2008-08-13 Thread Jeff Buchbinder
Packages:
$ dpkg -l | grep qemu
ii  kqemu-common  1.3.0~pre11-8 
   Common files for the QEMU Accelerator module
ii  kqemu-modules-2.6.22-14-generic   1.3.0~pre11-6+2.6.22-14.52
   kqemu modules for Linux (kernel 2.6.22-14-gene
ii  kqemu-modules-2.6.24-16-generic   1.3.0~pre11-8+2.6.24-16.30
   kqemu modules for Linux (kernel 2.6.24-16-gene
ii  kqemu-source  1.3.0~pre11-8 
   Source for the QEMU Accelerator module
ii  qemu  0.9.1-1ubuntu1
   fast processor emulator
$ uname -r
2.6.24-17-generic
$
Currently running Ubuntu 8.04 with all current updates, backports and security 
updates, except kernel.

Debug:
$ qemu-img create -f qcow test.qcow 2G
Formatting 'test.qcow', fmt=qcow, size=2097152 kB
$ file test.qcow 
test.qcow: QEMU Copy-On-Write disk image version 1, size 0 + -2147483648
$ qemu-img create -f qcow2 test.qcow 2G
Formatting 'test.qcow', fmt=qcow2, size=2097152 kB
$ file test.qcow 
test.qcow: QEMU Copy-On-Write disk image version 2, size 0 + -2147483648
$ 


** Changed in: file (Ubuntu)
   Status: New = Confirmed

-- 
file reports negative size for QCOW images
https://bugs.launchpad.net/bugs/198232
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 198232] Re: file reports negative size for QCOW images

2008-05-05 Thread Adam Buchbinder
This seems to have gotten worse. The output is now:

 test.qcow: Qemu Image, Format: Qcow , Version: 1 , Disk Size could be:
0 * 256 bytes

The number reported for disk size does not vary with the actual size of
the image. qcow2-format images don't have any estimated size reported at
all.

This is file 4.23-2 downloaded from the Intrepid repository and running
on Gutsy. (I manually specified the just-built magic file.)

-- 
file reports negative size for QCOW images
https://bugs.launchpad.net/bugs/198232
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 198232] Re: file reports negative size for QCOW images

2008-05-05 Thread Bug Watch Updater
** Changed in: file (Debian)
   Status: Unknown = New

-- 
file reports negative size for QCOW images
https://bugs.launchpad.net/bugs/198232
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 198232] Re: file reports negative size for QCOW images

2008-05-05 Thread Adam Buchbinder
** Bug watch added: Debian Bug tracker #451524
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=451524

** Also affects: file (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=451524
   Importance: Unknown
   Status: Unknown

-- 
file reports negative size for QCOW images
https://bugs.launchpad.net/bugs/198232
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs