From: Deepak Shetty Date: Wed, 18 Mar 2015 13:48:22 +0000 (+0530) Subject: doc: Fix doc for backingStore X-Git-Tag: v1.2.14-rc1~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=060f4c666e1b2fe81ec3e21ef28a262a290471f4;p=thirdparty%2Flibvirt.git doc: Fix doc for backingStore I spent quite some time figuring that backingStore info isn't included in the dom xml, unless guest is up and running. Hopefully putting that in the doc should help. Also, several people have complained that libvirt reports a backing file as raw, even though they expected it to be qcow2; where the culprit is usually the user forgetting to create the file with qemu-img create -o backing_fmt=qcow2. This patch adds that info to the doc. Signed-off-by: Deepak C Shetty Signed-off-by: Eric Blake --- diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index ab51982957..be35c82e7d 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -2108,14 +2108,22 @@
backingStore
- This element describes the backing store used by the disk specified by - sibling source element. It is currently ignored on input - and only used for output to describe the detected backing chains. - Since 1.2.4. An empty - backingStore element means the sibling source is - self-contained and is not based on any backing store. The following - attributes and sub-elements are supported in - backingStore: + This element describes the backing store used by the disk + specified by sibling source element. It is + currently ignored on input and only used for output to + describe the detected backing chains of running + domains since 1.2.4 (although a + future version of libvirt may start accepting chains on input, + or output information for offline domains). An + empty backingStore element means the sibling + source is self-contained and is not based on any backing + store. For backing chain information to be accurate, the + backing format must be correctly specified in the metadata of + each file of the chain (files created by libvirt satisfy this + property, but using existing external files for snapshot or + block copy operations requires the end user to pre-create the + file correctly). The following attributes and sub-elements are + supported in backingStore:
type attribute