]> xenbits.xensource.com Git - people/sstabellini/xen-unstable.git/.git/commitdiff
docs: Fix output of man/xen-vbd-interface
authorAnthony PERARD <anthony.perard@citrix.com>
Wed, 9 Jan 2019 11:07:30 +0000 (11:07 +0000)
committerWei Liu <wei.liu2@citrix.com>
Wed, 9 Jan 2019 11:08:04 +0000 (11:08 +0000)
In pandoc's markdown, a code block needs at least 4 spaces to be
recognize as such. This patch fix the rendering of description of the
encoding in the VBD interface so that [1] can be readable.

[1] https://xenbits.xen.org/docs/unstable/man/xen-vbd-interface.7.html

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
[ wei: rebase on top of staging ]
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
docs/man/xen-vbd-interface.7.pandoc

index 1c996bf64d55874f4549f2880654a54405b375b2..ba0d159dfa7eaf359922583ccd6d2b413acddb13 100644 (file)
@@ -73,13 +73,13 @@ The information above is encoded in the concrete interface as an
 integer (in a canonical decimal format in xenstore), whose value
 encodes the information above as follows:
 
-    1 << 28 | disk << 8 | partition      xvd, disks or partitions 16 onwards
-   202 << 8 | disk << 4 | partition      xvd, disks and partitions up to 15
-     8 << 8 | disk << 4 | partition      sd, disks and partitions up to 15
-     3 << 8 | disk << 6 | partition      hd, disks 0..1, partitions 0..63
-    22 << 8 | (disk-2) << 6 | partition  hd, disks 2..3, partitions 0..63
-    2 << 28 onwards                      reserved for future use
-   other values less than 1 << 28        deprecated / reserved
+     1 << 28 | disk << 8 | partition      xvd, disks or partitions 16 onwards
+    202 << 8 | disk << 4 | partition      xvd, disks and partitions up to 15
+      8 << 8 | disk << 4 | partition      sd, disks and partitions up to 15
+      3 << 8 | disk << 6 | partition      hd, disks 0..1, partitions 0..63
+     22 << 8 | (disk-2) << 6 | partition  hd, disks 2..3, partitions 0..63
+     2 << 28 onwards                      reserved for future use
+    other values less than 1 << 28        deprecated / reserved
 
 The 1<<28 format handles disks up to (1<<20)-1 and partitions up to
 255.  It will be used only where the 202<<8 format does not have