[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] docs: Fix output of man/xen-vbd-interface



commit f35a59452d5f5da20bef8acdc25f837ac782071c
Author:     Anthony PERARD <anthony.perard@xxxxxxxxxx>
AuthorDate: Wed Jan 9 11:07:30 2019 +0000
Commit:     Wei Liu <wei.liu2@xxxxxxxxxx>
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 <anthony.perard@xxxxxxxxxx>
    Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
    [ wei: rebase on top of staging ]
    Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 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#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.