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

Eric Blake eblake at redhat.com
Fri Dec 27 21:59:17 UTC 2013


On 12/27/2013 02:40 PM, Wout Mertens wrote:
> OK… So what is the next step?

[please don't top-post on technical lists]

> 
> I just noticed the <metadata> node (http://libvirt.org/formatdomain.html#elementsMetadata), could that be used for this? E.g.
> <metadata>
>     <vpx:vmxpath xmlns:vpx=“http://libvirt.org/vmware/“>[foo] bar/bar.vmx</vpx:vmxpath>
> </metadata>

No.  That would tie your solution to something that is opaque to libvirt.

> 
> Otherwise it seems to me that this would be part of the general section, perhaps simply a “path” node?

Not quite a path node.  I was thinking more like:

<domain type='kvm'>
  <name>foo</name>
  <pool name='mypool'/>
  ...

where the new <pool> element says that anything that the 'foo' domain
does that requires creation of new files will do so within the already
existing <pool> object with the name 'mypool'.  We can also support
<pool uuid='...'> (or both name and uuid at once).  If the <pool>
element is missing, that's when the domain uses defaults and/or refuses
to do tasks where we don't know where to stick the files.

-- 
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/8ea3da30/attachment-0001.sig>


More information about the libvir-list mailing list