[libvirt] [PATCH v2 2/2] storage: btrfs subvolumes for directory pools

Eric Blake eblake at redhat.com
Thu Oct 10 17:07:24 UTC 2013


On 10/10/2013 09:57 AM, Daniel P. Berrange wrote:

>> +                }
>> +                if (volv->backingStore.path == NULL) {
>> +                    /* backing store not in the pool, ignore it */
> 
> Backing stores for volumes are not required to be in the same pool as
> the source. For example it is valid to have a qcow2 file backed by
> a lvm volume.

What's more, qemu allows one to have qcow2 data atop a network device;
but right now libvirt forcefully assumes that all network devices (nbd,
ceph, sheepdog, gluster) contain only raw data rather than other
formats.  I'm trying to investigate what implications this has, but
among other things, I think we need to use more polymorphic callbacks
where for a given backing store string, we determine which storage
driver to use, then that storage driver tells us how to manage data from
that storage (including having qcow2 data atop network storage).

-- 
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: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131010/3d08506d/attachment-0001.sig>


More information about the libvir-list mailing list