From: Anthony PERARD Date: Wed, 9 Jan 2019 11:07:30 +0000 (+0000) Subject: docs: Fix output of man/xen-vbd-interface X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=f35a59452d5f5da20bef8acdc25f837ac782071c;p=people%2Froyger%2Fxen.git 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 Acked-by: Wei Liu [ wei: rebase on top of staging ] Signed-off-by: Wei Liu --- 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