2013-05-03 18:25:37 +04:00
<?xml version="1.0" encoding="UTF-8"?>
2017-07-26 20:01:25 +03:00
<!DOCTYPE html>
2013-05-03 18:25:37 +04:00
< html xmlns = "http://www.w3.org/1999/xhtml" >
2016-10-31 14:25:26 +03:00
< body class = "docs" >
2016-10-31 14:29:21 +03:00
< div class = "panel" >
< h2 > Deployment / operation< / h2 >
< dl >
< dt > < a href = "apps.html" > Applications< / a > < / dt >
< dd > Applications known to use libvirt< / dd >
< dt > < a href = "windows.html" > Windows< / a > < / dt >
< dd > Downloads for Windows< / dd >
< dt > < a href = "migration.html" > Migration< / a > < / dt >
< dd > Migrating guests between machines< / dd >
< dt > < a href = "remote.html" > Remote access< / a > < / dt >
< dd > Enable remote access over TCP< / dd >
2019-10-08 19:08:24 +03:00
< dt > < a href = "tlscerts.html" > TLS certs< / a > < / dt >
< dd > Generate and deploy x509 certificates for TLS< / dd >
2016-10-31 14:29:21 +03:00
< dt > < a href = "auth.html" > Authentication< / a > < / dt >
< dd > Configure authentication for the libvirt daemon< / dd >
< dt > < a href = "acl.html" > Access control< / a > < / dt >
< dd > Configure access control libvirt APIs with < a href = "aclpolkit.html" > polkit< / a > < / dd >
< dt > < a href = "logging.html" > Logging< / a > < / dt >
< dd > The library and the daemon logging support< / dd >
< dt > < a href = "auditlog.html" > Audit log< / a > < / dt >
< dd > Audit trail logs for host operations< / dd >
< dt > < a href = "firewall.html" > Firewall< / a > < / dt >
< dd > Firewall and network filter configuration< / dd >
< dt > < a href = "hooks.html" > Hooks< / a > < / dt >
< dd > Hooks for system specific management< / dd >
< dt > < a href = "nss.html" > NSS module< / a > < / dt >
< dd > Enable domain host name translation to IP addresses< / dd >
< dt > < a href = "http://wiki.libvirt.org/page/FAQ" > FAQ< / a > < / dt >
< dd > Frequently asked questions< / dd >
< / dl >
< / div >
< div class = "panel" >
< h2 > Application development< / h2 >
< dl >
< dt > < a href = "devguide.html" > Development Guide< / a > < / dt >
< dd > A guide and reference for developing with libvirt< / dd >
< dt > < a href = "virshcmdref.html" > Virsh Commands< / a > < / dt >
< dd > Command reference for virsh< / dd >
2017-07-04 17:50:00 +03:00
< dt > < a href = "bindings.html" > Language bindings and API modules< / a > < / dt >
2016-10-31 14:29:21 +03:00
< dd > Bindings of the libvirt API for
< a href = "csharp.html" > c#< / a > ,
2016-12-13 20:05:16 +03:00
< a href = "https://godoc.org/github.com/libvirt/libvirt-go" > go< / a > ,
2016-10-31 14:29:21 +03:00
< a href = "java.html" > java< / a > ,
2018-03-23 14:52:13 +03:00
< a href = "https://libvirt.org/ocaml/" > ocaml< / a > ,
2016-10-31 14:29:21 +03:00
< a href = "http://search.cpan.org/dist/Sys-Virt/" > perl< / a > ,
< a href = "python.html" > python< / a > ,
< a href = "php.html" > php< / a > ,
2017-07-04 17:50:00 +03:00
< a href = "https://libvirt.org/ruby/" > ruby< / a >
and integration API modules for
< a href = "dbus.html" > D-Bus< / a > < / dd >
2016-10-31 14:29:21 +03:00
< dt > < a href = "format.html" > XML schemas< / a > < / dt >
< dd > Description of the XML schemas for
< a href = "formatdomain.html" > domains< / a > ,
< a href = "formatnetwork.html" > networks< / a > ,
2018-08-31 17:21:34 +03:00
< a href = "formatnetworkport.html" > network ports< / a > ,
2016-10-31 14:29:21 +03:00
< a href = "formatnwfilter.html" > network filtering< / a > ,
< a href = "formatstorage.html" > storage< / a > ,
< a href = "formatstorageencryption.html" > storage encryption< / a > ,
< a href = "formatcaps.html" > capabilities< / a > ,
< a href = "formatdomaincaps.html" > domain capabilities< / a > ,
2019-02-07 23:26:00 +03:00
< a href = "formatstoragecaps.html" > storage pool capabilities< / a > ,
2016-10-31 14:29:21 +03:00
< a href = "formatnode.html" > node devices< / a > ,
< a href = "formatsecret.html" > secrets< / a > ,
2018-06-12 06:12:21 +03:00
< a href = "formatsnapshot.html" > snapshots< / a > ,
< a href = "formatcheckpoint.html" > checkpoints< / a > < / dd >
2016-10-31 14:29:21 +03:00
< dt > < a href = "uri.html" > URI format< / a > < / dt >
< dd > The URI formats used for connecting to libvirt< / dd >
< dt > < a href = "cgroups.html" > CGroups< / a > < / dt >
< dd > Control groups integration< / dd >
< dt > < a href = "html/index.html" > API reference< / a > < / dt >
< dd > Reference manual for the C public API, split in
< a href = "html/libvirt-libvirt-common.html" > common< / a > ,
< a href = "html/libvirt-libvirt-domain.html" > domain< / a > ,
backup: Introduce virDomainCheckpoint APIs
Introduce a bunch of new public APIs related to backup checkpoints.
Checkpoints are modeled heavily after virDomainSnapshotPtr (both
represent a point in time of the guest), although a snapshot exists
with the intent of rolling back to that state, while a checkpoint
exists to make it possible to create an incremental backup at a later
time. We may have a future hypervisor that can completely manage
checkpoints without libvirt metadata, but the first two planned
hypervisors (qemu and test) both always use libvirt for tracking
metadata relations between checkpoints, so for now, I've deferred
the counterpart of virDomainSnapshotHasMetadata for a separate
API addition at a later date if there is ever a need for it.
Note that until we allow snapshots and checkpoints to exist
simultaneously on the same domain (although the actual prevention of
this will be in a separate patch for the sake of an easier revert down
the road), that it is not possible to branch out to create more than
one checkpoint child to a given parent, although it may become
possible later when we revert to a snapshot that coincides with a
checkpoint. This also means that for now, the decision of which
checkpoint becomes the parent of a newly created one is the only
checkpoint with no child (so while there are APIs for dealing with a
current snapshot, we do not need those for checkpoints). We may end
up exposing a notion of a current checkpoint later, but it's easier to
add stuff when proven needed than to blindly support it now and wish
we hadn't exposed it.
The following map shows the API relations to snapshots, with new APIs
on the right:
Operate on a domain object to create/redefine a child:
virDomainSnapshotCreateXML virDomainCheckpointCreateXML
Operate on a child object for lifetime management:
virDomainSnapshotDelete virDomainCheckpointDelete
virDomainSnapshotFree virDomainCheckpointFree
virDomainSnapshotRef virDomainCheckpointRef
Operate on a child object to learn more about it:
virDomainSnapshotGetXMLDesc virDomainCheckpointGetXMLDesc
virDomainSnapshotGetConnect virDomainCheckpointGetConnect
virDomainSnapshotGetDomain virDomainCheckpointGetDomain
virDomainSnapshotGetName virDomainCheckpiontGetName
virDomainSnapshotGetParent virDomainCheckpiontGetParent
virDomainSnapshotHasMetadata (deferred for later)
virDomainSnapshotIsCurrent (no counterpart, see note above)
Operate on a domain object to list all children:
virDomainSnapshotNum (no counterparts, these are the old
virDomainSnapshotListNames racy interfaces)
virDomainSnapshotListAllSnapshots virDomainListAllCheckpoints
Operate on a child object to list descendents:
virDomainSnapshotNumChildren (no counterparts, these are the old
virDomainSnapshotListChildrenNames racy interfaces)
virDomainSnapshotListAllChildren virDomainCheckpointListAllChildren
Operate on a domain to locate a particular child:
virDomainSnapshotLookupByName virDomainCheckpointLookupByName
virDomainSnapshotCurrent (no counterpart, see note above)
virDomainHasCurrentSnapshot (no counterpart, old racy interface)
Operate on a snapshot to roll back to earlier state:
virDomainSnapshotRevert (no counterpart, instead checkpoints
are used in incremental backups via
XML to virDomainBackupBegin)
Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2019-03-13 22:35:26 +03:00
< a href = "html/libvirt-libvirt-domain-checkpoint.html" > domain checkpoint< / a > ,
2016-10-31 14:29:21 +03:00
< a href = "html/libvirt-libvirt-domain-snapshot.html" > domain snapshot< / a > ,
< a href = "html/libvirt-virterror.html" > error< / a > ,
< a href = "html/libvirt-libvirt-event.html" > event< / a > ,
< a href = "html/libvirt-libvirt-host.html" > host< / a > ,
< a href = "html/libvirt-libvirt-interface.html" > interface< / a > ,
< a href = "html/libvirt-libvirt-network.html" > network< / a > ,
< a href = "html/libvirt-libvirt-nodedev.html" > node device< / a > ,
< a href = "html/libvirt-libvirt-nwfilter.html" > network filter< / a > ,
< a href = "html/libvirt-libvirt-secret.html" > secret< / a > ,
< a href = "html/libvirt-libvirt-storage.html" > storage< / a > ,
< a href = "html/libvirt-libvirt-stream.html" > stream< / a >
2019-11-20 17:49:26 +03:00
and
< a href = "html/index-admin.html" > admin< / a > ,
< a href = "html/index-qemu.html" > QEMU< / a > ,
< a href = "html/index-lxc.html" > LXC< / a > libs
2016-10-31 14:29:21 +03:00
< / dd >
< dt > < a href = "drivers.html" > Drivers< / a > < / dt >
< dd > Hypervisor specific driver information< / dd >
2017-11-16 20:11:55 +03:00
< dt > < a href = "support.html" > Support guarantees< / a > < / dt >
< dd > Details of support status for various interfaces< / dd >
2016-10-31 14:29:21 +03:00
< dt > < a href = "hvsupport.html" > Driver support< / a > < / dt >
< dd > matrix of API support per hypervisor per release< / dd >
2019-07-08 15:58:56 +03:00
< dt > < a href = "kbase.html" > Knowledge Base< / a > < / dt >
< dd > Task oriented guides to key features< / dd >
2016-10-31 14:29:21 +03:00
< / dl >
< / div >
< div class = "panel" >
< h2 > Project development< / h2 >
< dl >
< dt > < a href = "hacking.html" > Contributor guidelines< / a > < / dt >
< dd > General hacking guidelines for contributors< / dd >
2019-09-19 14:48:15 +03:00
< dt > < a href = "strategy.html" > Project strategy< / a > < / dt >
< dd > Sets a vision for future direction & technical choices< / dd >
2016-10-31 14:29:21 +03:00
< dt > < a href = "bugs.html" > Bug reports< / a > < / dt >
< dd > How and where to report bugs and request features< / dd >
< dt > < a href = "compiling.html" > Compiling< / a > < / dt >
< dd > How to compile libvirt< / dd >
< dt > < a href = "goals.html" > Goals< / a > < / dt >
< dd > Terminology and goals of libvirt API< / dd >
< dt > < a href = "api.html" > API concepts< / a > < / dt >
< dd > The libvirt API concepts< / dd >
< dt > < a href = "api_extension.html" > API extensions< / a > < / dt >
< dd > Adding new public libvirt APIs< / dd >
< dt > < a href = "internals/eventloop.html" > Event loop and worker pool< / a > < / dt >
< dd > Libvirt's event loop and worker pool mode< / dd >
< dt > < a href = "internals/command.html" > Spawning commands< / a > < / dt >
< dd > Spawning commands from libvirt driver code< / dd >
< dt > < a href = "internals/rpc.html" > RPC protocol & APIs< / a > < / dt >
< dd > RPC protocol information and API / dispatch guide< / dd >
< dt > < a href = "internals/locking.html" > Lock managers< / a > < / dt >
< dd > Use lock managers to protect disk content< / dd >
< dt > < a href = "testsuites.html" > Functional testing< / a > < / dt >
< dd > Testing libvirt with < a href = "testtck.html" > TCK test suite< / a > and
< a href = "testapi.html" > Libvirt-test-API< / a > < / dd >
< / dl >
< / div >
< br class = "clear" / >
2008-04-23 21:08:31 +04:00
< / body >
< / html >