Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289751 - app-emulation/virt-manager-0.8.0 creates incorrectly sized qcow2 images.
Summary: app-emulation/virt-manager-0.8.0 creates incorrectly sized qcow2 images.
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-19 16:43 UTC by Jayson
Modified: 2010-02-18 15:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jayson 2009-10-19 16:43:32 UTC
When adding new storage through the wizard or the storage manager in qcow2 format, the resulting image is smaller by a factor of 1000. Example: I request a 10000MB qcow2 image, however I receive a 10MB image. Tested on both x86 && amd64.

Reproducible: Always

Steps to Reproduce:
1. Go to details on the dropdown for localhost (QEMU)
2. Enter the storage tab
3. Click New Volume
4. Name image, select qcow2 format, and put a max capacity of 10000MB.
5. Create volume and check the size.

Actual Results:  
My created image says 9.77MB...

Expected Results:  
Given me a 9.77GB image.

Using kvm-image on the command line works, as does the raw format; other formats may be affected.
Comment 1 Wormo (RETIRED) gentoo-dev 2009-10-27 06:21:59 UTC
What's a few orders of magnitude among friends :)

Please post your 'emerge --info' output and then we'll see what the maintainers have to say about this.
Comment 2 Sebastian Luther (few) 2009-10-30 11:43:21 UTC
I think we can assign this one without emerge --info.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-23 17:14:56 UTC
Please try with virt-manager 0.8.2 and reopen if it's still a problem.
Comment 4 Chris Bainbridge 2010-02-18 15:25:06 UTC
This is normal behaviour - http://people.gnome.org/~markmc/qcow-image-format.html

The QCOW image format is one of the disk image formats supported by the QEMU processor emulator. It is a representation of a fixed size block device in a file. Benefits it offers over using raw dump representation include:

Smaller file size, even on filesystems which don't support holes (i.e. sparse files)