Re: [libvirt] [PATCH] Fix capacity reporting for qcow2 images

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 02, 2008 at 05:17:56PM -0400, Cole Robinson wrote:
> Libvirt was reporting some ridiculously large 'capacity'
> values for some qcow2 images I was creating with relatively
> small sizes (200 MB). Seems there was a signedness problem
> when parsing the file header. The attached fix shows the
> expected values and doesn't look like it will hurt elsewhere.

  Okay, that looks sensible, but man that's code from the 80's
do we still need to poke like this in modern code to make those
estimates ? That's scary (the function, not the patch :-)

  Applied and commited,

Daniel


-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]