mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 07:05:28 +00:00
252958ee16
Prepare for new backup APIs by describing the XML that will represent a backup. The XML resembles snapshots and checkpoints in being able to select actions for a set of disks, but has other differences. It can support both push model (the hypervisor does the backup directly into the destination file) and pull model (the hypervisor exposes an access port for a third party to grab what is necessary). Add testsuite coverage for some minimal uses of the XML. The <disk> element within <domainbackup> tries to model the same elements as a <disk> under <domain>, but sharing the RNG grammar proved to be hairy. That is in part because while <domain> use <source> to describe a host resource in use by the guest, a backup job is using a host resource that is not visible to the guest: a push backup action is instead describing a <target> (which ultimately could be a remote network resource, but for simplicity the RNG just validates a local file for now), and a pull backup action is instead describing a temporary local file <scratch> (which probably should not be a remote resource). A future refactoring may thus introduce some way to parameterize RNG to accept <disk type='FOO'>...</disk> so that the name of the subelement can be <source> for domain, or <target> or <scratch> as needed for backups. Future patches may improve this area of code. Signed-off-by: Eric Blake <eblake@redhat.com> Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
83 lines
3.0 KiB
XML
83 lines
3.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<script type="text/javascript">
|
|
<!--
|
|
window.addEventListener("load", function() { fetchRSS() });
|
|
// -->
|
|
</script>
|
|
</head>
|
|
<body class="index">
|
|
<h1>The virtualization API</h1>
|
|
|
|
<div class="panel">
|
|
<h2>Introduction</h2>
|
|
<p>
|
|
The libvirt project:
|
|
</p>
|
|
<ul>
|
|
<li>is a toolkit to manage <a href="platforms.html">virtualization platforms</a></li>
|
|
<li>is accessible from C, Python, Perl, Java and more</li>
|
|
<li>is licensed under open source licenses</li>
|
|
<li>supports <a href="drvqemu.html">KVM</a>,
|
|
<a href="drvqemu.html">QEMU</a>, <a href="drvxen.html">Xen</a>,
|
|
<a href="drvvirtuozzo.html">Virtuozzo</a>,
|
|
<a href="drvesx.html">VMWare ESX</a>,
|
|
<a href="drvlxc.html">LXC</a>,
|
|
<a href="drvbhyve.html">BHyve</a> and
|
|
<a href="drivers.html">more</a></li>
|
|
<li>targets Linux, FreeBSD, <a href="windows.html">Windows</a> and OS-X</li>
|
|
<li>is used by many <a href="apps.html">applications</a></li>
|
|
</ul>
|
|
<p>Recent / forthcoming <a href="news.html">release changes</a></p>
|
|
</div>
|
|
|
|
<div class="panel">
|
|
<h2>Quick Links</h2>
|
|
|
|
<dl>
|
|
<dt><a href="contribute.html">New contributors</a></dt>
|
|
<dd>Get involved in the libvirt community & student outreach programs</dd>
|
|
|
|
<dt><a href="securityprocess.html">Security vulnerabilities</a></dt>
|
|
<dd>View security notices and report vulnerabilities to the libvirt security response team</dd>
|
|
|
|
<dt><a href="bugs.html">Bug reporting</a></dt>
|
|
<dd>View and report bugs in libvirt packages</dd>
|
|
|
|
<dt><a href="format.html">XML configuration</a></dt>
|
|
<dd>Description of the XML schemas for
|
|
<a href="formatdomain.html">domains</a>,
|
|
<a href="formatnetwork.html">networks</a>,
|
|
<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>,
|
|
<a href="formatstoragecaps.html">storage pool capabilities</a>,
|
|
<a href="formatnode.html">node devices</a>,
|
|
<a href="formatsecret.html">secrets</a>,
|
|
<a href="formatsnapshot.html">snapshots</a>,
|
|
<a href="formatcheckpoint.html">checkpoints</a>,
|
|
<a href="formatbackup.html">backup jobs</a></dd>
|
|
<dt><a href="http://wiki.libvirt.org">Wiki</a></dt>
|
|
<dd>Read further community contributed content</dd>
|
|
</dl>
|
|
</div>
|
|
|
|
<div class="panel">
|
|
<h2>Blog Planet</h2>
|
|
<div id="planet">
|
|
</div>
|
|
|
|
<p>
|
|
Read more on the <a href="http://planet.virt-tools.org/">Virt Tools blog planet</a>
|
|
</p>
|
|
</div>
|
|
|
|
<br class="clear"/>
|
|
|
|
</body>
|
|
</html>
|