libvirt/docs
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
..
api_extension maint: rename virBufferVSprintf to virBufferAsprintf 2011-05-05 13:47:40 -06:00
devhelp
html
internals Add some docs about the RPC protocol and APIs 2011-08-12 13:54:10 +01:00
schemas snapshot: track current snapshot across restarts 2011-08-25 15:11:03 -06:00
.gitignore
32favicon.png
api_extension.html.in
api.html.in docs: correct invalid xml 2011-04-01 16:03:11 -06:00
apibuild.py Add new API virDomainBlockPull* to headers 2011-07-22 13:18:06 +08:00
apps.html.in docs: mention EMOTIVE as a libvirt-using app 2011-07-14 15:34:37 -06:00
archdomain.html.in
architecture.fig
architecture.gif
architecture.html.in
archnetwork.html.in docs: correct invalid xml 2011-04-01 16:03:11 -06:00
archnode.html.in
archstorage.html.in
auth.html.in
bindings.html.in
bugs.html.in
compiling.html.in
contact.html.in
csharp.html.in
deployment.html.in
devguide.html.in
docs.html.in
downloads.html.in
drivers.html.in
drvesx.html.in website: Point main page links to libvirt driver pages 2011-07-15 13:19:41 -06:00
drvlxc.html.in website: Point main page links to libvirt driver pages 2011-07-15 13:19:41 -06:00
drvopenvz.html.in website: Point main page links to libvirt driver pages 2011-07-15 13:19:41 -06:00
drvqemu.html.in website: Point main page links to libvirt driver pages 2011-07-15 13:19:41 -06:00
drvremote.html.in
drvtest.html.in Whitespace cleanup for pre-tags on the website 2009-11-16 22:42:13 +01:00
drvuml.html.in website: Point main page links to libvirt driver pages 2011-07-15 13:19:41 -06:00
drvvbox.html.in website: Point main page links to libvirt driver pages 2011-07-15 13:19:41 -06:00
drvvmware.html.in website: Point main page links to libvirt driver pages 2011-07-15 13:19:41 -06:00
drvxen.html.in website: Point main page links to libvirt driver pages 2011-07-15 13:19:41 -06:00
errors.html.in
et.png
firewall.html.in
footer_corner.png
footer_pattern.png
format.html.in
formatcaps.html.in
formatdomain.html.in qemu: support event_idx parameter for virtio disk and net devices 2011-08-15 09:35:42 -04:00
formatnetwork.html.in docs: use IPv6 addresses in range reserved for documentation 2011-08-11 00:21:33 -04:00
formatnode.html.in
formatnwfilter.html.in nwfilter: enable filtering of gratuitous ARP packets 2011-05-23 19:41:18 -04:00
formatsecret.html.in
formatsnapshot.html.in
formatstorage.html.in
formatstorageencryption.html.in docs: correct invalid xml 2011-04-01 16:03:11 -06:00
generic.css
goals.html.in
hacking1.xsl
hacking2.xsl
hacking.html.in build: rename files.h to virfile.h 2011-07-21 10:34:51 -06:00
hooks.html.in Fix several formatting mistakes in doc 2011-03-31 14:36:19 -06:00
hvsupport.pl docs: Make hvsupport.pl pick up the host device drivers 2011-06-06 10:45:59 +02:00
index.html.in website: Point main page links to libvirt driver pages 2011-07-15 13:19:41 -06:00
index.py
internals.html.in docs: correct invalid xml 2011-04-01 16:03:11 -06:00
intro.html.in * docs/*: start cleanup/revamp of architecture docs 2009-04-02 12:01:11 +00:00
java.html.in
library.xen
libvirt-daemon-arch.fig
libvirt-daemon-arch.png
libvirt-driver-arch.fig
libvirt-driver-arch.png
libvirt-header-bg.png
libvirt-header-logo.png
libvirt-net-logical.fig
libvirt-net-logical.png
libvirt-net-physical.fig
libvirt-net-physical.png
libvirt-object-model.fig
libvirt-object-model.png
libvirt.css Align table cells on top 2011-08-11 13:42:22 -06:00
libvirtLogo.png
locking.html.in Add documentation for configuration lock managers 2011-06-28 18:19:00 +01:00
logging.html.in docs: correct invalid xml 2011-04-01 16:03:11 -06:00
madeWith.png
main.css
Makefile.am maint: add missing copyright notices 2011-07-28 15:01:17 -06:00
newapi.xsl Improve tokenizing of linkable terms 2011-08-12 07:35:19 -06:00
news.html.in Release of libvirt-0.9.4 2011-08-03 11:02:42 +08:00
news.xsl
node.fig
node.gif
page.xsl
php.html.in
python.html.in
relatedlinks.html.in
remote.html.in Add some docs about the RPC protocol and APIs 2011-08-12 13:54:10 +01:00
search.php
site.xsl Change generated HTML to UTF-8 encoding 2009-12-08 16:09:33 +01:00
sitemap.html.in Add some docs about the RPC protocol and APIs 2011-08-12 13:54:10 +01:00
storage.html.in
structures.fig
subsite.xsl
testapi.html.in Add documentation about test suites 2011-05-11 19:18:38 +08:00
testsuites.html.in docs: avoid double 'the' 2011-05-11 08:18:04 -06:00
testtck.html.in Add documentation about test suites 2011-05-11 19:18:38 +08:00
todo.cfg-example
todo.pl Skip bugs which are CLOSED in todo list 2011-07-12 17:10:33 +01:00
uri.html.in
virshcmdref.html.in
windows.html.in docs: correct invalid xml 2011-04-01 16:03:11 -06:00
wrapstring.xsl Generate HACKING from docs/hacking.html.in 2010-11-12 19:47:20 +01:00