[libvirt] [PATCH] Support transient attribute on vmware disks

Eric Blake eblake at redhat.com
Fri Dec 27 20:26:57 UTC 2013


On 12/26/2013 04:02 PM, Wout Mertens wrote:

> Workarounds I can think of:
> - Augment the domain xml description so it also defines the storage pool on which the created domain should reside

This is a good idea which I've wanted for other reasons - the qemu
driver also has instances where we are sticking large files in a
hard-coded directory (such as 'virsh managedsave') but where people have
complained that they would like to control what directory gets used for
it.  Adding an element to the <domain> xml that gives the name of the
preferred virStoragePool for all operations requiring potentially large
files associated with the domain is a change worth making.

> The first way seems the cleanest but is probably also the most work and touches more code.

Maybe, but it is the right thing to do.

-- 
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/20131227/06ed2528/attachment-0001.sig>


More information about the libvir-list mailing list