libvirt/src/conf
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
..
capabilities.c maint: rename virBufferVSprintf to virBufferAsprintf 2011-05-05 13:47:40 -06:00
capabilities.h domain: Require <init> for container guests 2011-05-13 10:32:53 -04:00
cpu_conf.c conf: prefer unsigned flags 2011-07-13 17:05:10 -06:00
cpu_conf.h conf: prefer unsigned flags 2011-07-13 17:05:10 -06:00
domain_audit.c build: silence coverity false positives 2011-08-02 16:39:01 -06:00
domain_audit.h Add auditing of filesystems 2011-07-12 17:05:30 +01:00
domain_conf.c snapshot: track current snapshot across restarts 2011-08-25 15:11:03 -06:00
domain_conf.h snapshot: track current snapshot across restarts 2011-08-25 15:11:03 -06:00
domain_event.c maint: fix comment typos 2011-08-23 11:31:28 -06:00
domain_event.h Asynchronous event for BlockJob completion 2011-07-22 13:57:42 +08:00
domain_nwfilter.c nwfilter: fix loadable module support 2010-06-21 14:18:31 -04:00
domain_nwfilter.h nwfilter: fix loadable module support 2010-06-21 14:18:31 -04:00
interface_conf.c interface: implement a test driver for network config transaction API. 2011-05-27 14:34:13 -04:00
interface_conf.h interface: implement a test driver for network config transaction API. 2011-05-27 14:34:13 -04:00
network_conf.c network: eliminate potential memory leak on parse failure 2011-08-11 14:39:22 -04:00
network_conf.h bandwidth: Integrate bandwidth into portgroups 2011-07-27 10:26:25 +02:00
node_device_conf.c conf: Cleanup improper use of VIR_ERR_NO_SUPPORT in node_device_conf 2011-08-23 15:04:00 +08:00
node_device_conf.h pci: Move some pci sriov helper code out of node device driver to util/pci 2011-08-16 11:59:00 -04:00
nwfilter_conf.c build: rename files.h to virfile.h 2011-07-21 10:34:51 -06:00
nwfilter_conf.h nwfilter: enable filtering of gratuitous ARP packets 2011-05-23 19:41:18 -04:00
nwfilter_params.c maint: rename virBufferVSprintf to virBufferAsprintf 2011-05-05 13:47:40 -06:00
nwfilter_params.h This patch removes the virConnectPtr parameter from all functions where it's not necessary starting out with removing it as a parameter to the error reporting function. 2010-04-05 12:34:55 -04:00
secret_conf.c maint: rename virBufferVSprintf to virBufferAsprintf 2011-05-05 13:47:40 -06:00
secret_conf.h Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
storage_conf.c maint: simplify lots of libxml2 clients 2011-08-19 09:13:55 -06:00
storage_conf.h Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
storage_encryption_conf.c build: rename files.h to virfile.h 2011-07-21 10:34:51 -06:00
storage_encryption_conf.h Put <stdbool.h> into internal.h so it is available everywhere 2011-02-24 12:04:06 +00:00