libvirt/docs/schemas
Eric Blake 6766ff10dd snapshot: track current snapshot across restarts
Audit all changes to the qemu vm->current_snapshot, and make them
update the saved xml file for both the previous and the new
snapshot, so that there is always at most one snapshot with
<active>1</active> in the xml, and that snapshot is used as the
current snapshot even across libvirtd restarts.

This patch does not fix the case of virDomainSnapshotDelete(,CHILDREN)
where one of the children is the current snapshot; that will be later.

* src/conf/domain_conf.h (_virDomainSnapshotDef): Alter member
type and name.
* src/conf/domain_conf.c (virDomainSnapshotDefParseString)
(virDomainSnapshotDefFormat): Update clients.
* docs/schemas/domainsnapshot.rng: Tighten rng.
* src/qemu/qemu_driver.c (qemuDomainSnapshotLoad): Reload current
snapshot.
(qemuDomainSnapshotCreateXML, qemuDomainRevertToSnapshot)
(qemuDomainSnapshotDiscard): Track current snapshot.
2011-08-25 15:11:03 -06:00
..
basictypes.rng xml: create an RNG file for common types and move some definitions there 2011-07-05 12:33:21 -04:00
capability.rng microblaze: Add architecture support 2011-07-07 17:49:21 -06:00
domain.rng qemu: support event_idx parameter for virtio disk and net devices 2011-08-15 09:35:42 -04:00
domainsnapshot.rng snapshot: track current snapshot across restarts 2011-08-25 15:11:03 -06:00
interface.rng xml: create an RNG file for common types and move some definitions there 2011-07-05 12:33:21 -04:00
Makefile.am maint: add missing copyright notices 2011-07-28 15:01:17 -06:00
network.rng bandwidth: Define schema and create documentation 2011-07-25 13:49:06 +08:00
networkcommon.rng bandwidth: Define schema and create documentation 2011-07-25 13:49:06 +08: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
storagevol.rng