[Pkg-libvirt-maintainers] Bug#512773: Bug#512773: [virt-manager] Unable to create a non-sparse image file from the VM creation wizard

Guido Günther agx at sigxcpu.org
Fri Jan 23 16:28:15 UTC 2009


On Fri, Jan 23, 2009 at 04:43:09PM +0100, Laurent Léonard wrote:
> Package: virt-manager
> Version: 0.6.0-6
> Severity: normal
> 
> --- Please enter the report below this line. ---
> The VM creation wizard is unable to create a non-sparse image file, even if the 
> checkbox "Allocate entire virtual disk now?" is checked (default state). The 
> problem comes from the virtinst package, in the file /usr/share/python-
> support/virtinst/virtinst/VirtualDisk.py, line 342-348 :
>                     if self.sparse:
>                         alloc = 0
>                     else:
>                         #alloc = cap
>                         # XXX: disable setting managed storage as nonsparse
>                         # XXX: since it hoses libvirtd (for now)
>                         alloc = 0
Does setting alloc = 1 work for you?
 -- Guido





More information about the Pkg-libvirt-maintainers mailing list