[xen staging] docs: Fix output of man/xen-vbd-interface

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen staging] docs: Fix output of man/xen-vbd-interface

patchbot
commit f35a59452d5f5da20bef8acdc25f837ac782071c
Author:     Anthony PERARD <[hidden email]>
AuthorDate: Wed Jan 9 11:07:30 2019 +0000
Commit:     Wei Liu <[hidden email]>
CommitDate: Wed Jan 9 11:08:04 2019 +0000

    docs: Fix output of man/xen-vbd-interface
   
    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 <[hidden email]>
    Acked-by: Wei Liu <[hidden email]>
    [ wei: rebase on top of staging ]
    Signed-off-by: Wei Liu <[hidden email]>
---
 docs/man/xen-vbd-interface.7.pandoc | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/docs/man/xen-vbd-interface.7.pandoc b/docs/man/xen-vbd-interface.7.pandoc
index 1c996bf64d..ba0d159dfa 100644
--- a/docs/man/xen-vbd-interface.7.pandoc
+++ b/docs/man/xen-vbd-interface.7.pandoc
@@ -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
--
generated by git-patchbot for /home/xen/git/xen.git#staging

_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog