From 8d16201fe0e63afb5416a8eb7c6478f582ccccc0 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Wed, 7 Dec 2011 17:55:41 +0100 Subject: [PATCH] Add documentation for --- docs/formatdomain.html.in | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 204373e2a2..f9dbcda861 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -1023,21 +1023,24 @@ path to the file holding the disk. If the disk type is "block", then the dev attribute specifies the path to the host device to serve as - the disk. If the disk type is "network", then - the protocol attribute specifies the protocol to - access to the requested image; possible values are "nbd", - "rbd", and "sheepdog". If the protocol attribute - is "rbd" or "sheepdog", an additional + the disk. If the disk type is "dir", then the + dir attribute specifies the fully-qualified path + to the directory to use as the disk. If the disk type + is "network", then the protocol attribute specifies + the protocol to access to the requested image; possible values + are "nbd", "rbd", and "sheepdog". If the protocol + attribute is "rbd" or "sheepdog", an additional attribute name is mandatory to specify which image to be used. When the disk type is "network", the source may have zero or more host sub-elements used to specify the hosts to connect. - Since 0.0.3 - For "file" disk type which represents cdrom or floppy - (the device attribute) it is possible to define - policy what to do with disk if source is not accessible. - This is done by startupPolicy attribute accepting + Since 0.0.3; type='dir' since + 0.7.5; type='network' since 0.8.7
+ For a "file" disk type which represents a cdrom or floppy + (the device attribute), it is possible to define + policy what to do with the disk if the source file is not accessible. + This is done by the startupPolicy attribute, accepting these values: