[libvirt] Question about QCOW2 and Libvirt Storage Pools

Eric Blake eblake at redhat.com
Mon May 5 20:05:12 UTC 2014


On 05/05/2014 12:05 PM, Solly Ross wrote:
> Hi,
> I'm doing some work getting libvirt storage pools into OpenStack, as they definitely
> make certain operations much easier for the Nova libvirt driver.  However, one thing
> I noticed is that since storage pools automatically refresh on reboot, initial creation
> information gets lost.  This poses a problem, since libvirt probes for file type for the
> filesystem-based pools (dir, fs, netfs, etc), and can erroneously detect a RAW file as
> another file type (for instance, QCOW2).  Is there a reason libvirt doesn't have an option
> to persist (to disk) the unchanging parts of the volume XML?

Only the reason of "no one has implemented it".  Contributions welcome;
I think it does indeed make sense to figure out a way to store
persistent volume information alongside the persistent pool XML, so that
we can track that a given file is raw and should not be probed.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140505/7a609c42/attachment-0001.sig>


More information about the libvir-list mailing list