From: Bamvor Jian Zhang Subject: [PATCH v4 3/5] add xl snapshot configuration syntax file Date: Mon, 23 Jun 2014 19:25:53 +0800 Message-ID: <1403522755-6894-4-git-send-email-bjzhang@suse.com> References: <1403522755-6894-1-git-send-email-bjzhang@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1403522755-6894-1-git-send-email-bjzhang@suse.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: zzhou@suse.com, ian.campbell@citrix.com, ian.jackson@eu.citrix.com, cyliu@suse.com, jfehlig@suse.com, Bamvor Jian Zhang , anthony.perard@citrix.com, davidkiarie4@gmail.com List-Id: xen-devel@lists.xenproject.org Signed-off-by: Bamvor Jian Zhang --- docs/man/xl.snapshot.conf.pod.5 | 58 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 docs/man/xl.snapshot.conf.pod.5 diff --git a/docs/man/xl.snapshot.conf.pod.5 b/docs/man/xl.snapshot.conf.pod.5 new file mode 100644 index 0000000..9904fa8 --- /dev/null +++ b/docs/man/xl.snapshot.conf.pod.5 @@ -0,0 +1,58 @@ +=head1 NAME + +xl.snapshot.cfg - XL Domain Snapshot Configuration File Syntax + +=head1 DESCRIPTION + +without snapshot configuration file, xl snapshot-create could create internal +domain snapshot or internal disk snapshot. To create a user-defined domain +snapshot, xl requires a domain snapshot config file. Typically these live in +`/var/lib/xen/snapshots/UUID/snapshotdata-d.NAME.libxl-json` where +UUID is the uuid of domain and the NAME is name of snapshot. +it is highly recommend that the external file snapshot should locate the same +directory with snapshot configuration file and memory save image. +here is two examples for internal domain snapshot and external domain snapshot: +"/etc/xen/examples/xlsnapshot.internal", "/etx/xen/examples/xlsnapshot.external". + +=head1 SYNTAX + +A domain config file consists of a series of C pairs. it share the +same rules with xl.cfg + +=head1 OPTIONS + +=over 4 + +=item B + +Specifies the name of the domain snapshot. Names of snapshots existing on a +single domain must be unique. if ignored, it will be the epoch second from 1, +Jan 1970. + +=item B + +the snapshot description. + +=item B + +the creation time of this snapshot, it will be the epoch second from 1, Jan +1970. this field could not be specified by user. it will be ignored in domain +snapshot creation. + +=item B + +describe the location of memory save image, this image is as same as the image +in "xl save". the value could be the full directory of the location of memory +save image or "yes" which means `/var/lib/xen/snapshots/UUID/NAME.save`. +if ignored, this snapshot will be a disk only snapshot. + +=item B + +the disk snapshot description. See F for +full description. for internal snapshot, user should provide vdev. for external +snapshot, user should provide vdev, format, target. format is the format of +external snapshot file. only qcow2 is allowed. target is the external snapshot +file including full path. + +=back + -- 1.8.1.4