From db9c6d47d8306e559f4e669419699e0133a6f220 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Wed, 15 Apr 2020 19:09:34 +0200 Subject: [PATCH] docs: Use consistent style in pci-addresses.rst Indent all code snippets by the same number of spaces, and don't embed the :: marker in the line preceding a code block. This commit is best viewed with 'git show -w'. Signed-off-by: Andrea Bolognani Reviewed-by: Cornelia Huck --- docs/pci-addresses.rst | 60 ++++++++++++++++++++++-------------------- 1 file changed, 32 insertions(+), 28 deletions(-) diff --git a/docs/pci-addresses.rst b/docs/pci-addresses.rst index fbc741e344..0b83bb231f 100644 --- a/docs/pci-addresses.rst +++ b/docs/pci-addresses.rst @@ -196,24 +196,26 @@ In the simplest case, the following XML snippet :: - - - - -
- -
-
- - - - -
- -
-
- -will result in the following in a Linux guest:: + + + + +
+ +
+
+ + + + +
+ +
+
+ +will result in the following in a Linux guest: + +:: 0001:00:00.0 Ethernet controller: Red Hat, Inc. Virtio network device @@ -221,7 +223,7 @@ Note that the PCI bridge is not visible in the guest; s390x always has a flat topology. Neither are any changes in the PCI address visible in the guest; replacing -the PCI address for the virtio-net device with +the PCI address for the ``virtio-net`` device with :: @@ -236,15 +238,17 @@ snippet :: - - - - -
- -
-
+ + + + +
+ +
+
-will yield the following result in a Linux guest:: +will yield the following result in a Linux guest: + +:: 0007:00:00.0 Ethernet controller: Red Hat, Inc. Virtio network device -- GitLab