libvirt/docs/schemas
Daniel P. Berrange 1ea83207c8 Support leases in guest XML and lock manager
A lock manager may operate in various modes. The direct mode of
operation is to obtain locks based on the resources associated
with devices in the XML. The indirect mode is where the app
creating the domain provides explicit leases for each resource
that needs to be locked. This XML extension allows for listing
resources in the XML

  <devices>
     ...
     <lease>
       <lockspace>somearea</lockspace>
       <key>thequickbrownfoxjumpsoverthelazydog</key>
       <target path='/some/lease/path' offset='23432'/>
     </lease>
     ...
  </devices>

The 'lockspace' is a unique identifier for the lockspace which
the lease is associated

The 'key' is a unique identifier for the resource associated
with the lease.

The 'target' is the file on disk where the leases are held.

* docs/schemas/domain.rng: Add lease schema
* src/conf/domain_conf.c, src/conf/domain_conf.h: parsing and
  formatting for leases
* tests/qemuxml2argvdata/qemuxml2argv-lease.args,
  tests/qemuxml2argvdata/qemuxml2argv-lease.xml,
  tests/qemuxml2xmltest.c: Test XML handling for leases
2011-06-02 10:54:00 +01:00
..
capability.rng cpu: Add support for CPU vendor 2010-07-07 17:26:00 +02:00
domain.rng Support leases in guest XML and lock manager 2011-06-02 10:54:00 +01:00
domainsnapshot.rng Domain snapshot RNG and tests. 2010-05-20 13:50:03 -04:00
interface.rng interface.rng: Make miimon and arpmon optional for bond interfaces 2010-11-15 14:22:42 -05:00
Makefile.am Install, distribute and package domainsnapshot.rng 2010-05-27 01:11:15 +02:00
network.rng Give each virtual network bridge its own fixed MAC address 2011-02-17 13:36:32 -05:00
nodedev.rng
nwfilter.rng nwfilter: enable filtering of gratuitous ARP packets 2011-05-23 19:41:18 -04:00
secret.rng
storageencryption.rng
storagepool.rng Fix parsing of port attribute in storage XML configuration 2010-11-23 14:55:33 +00:00
storagevol.rng