summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual/qemu.rst
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2021-04-16 18:27:05 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-04-23 16:39:03 +0100
commitc3c6de21876aad811e08538544c8fe76d22ccd09 (patch)
treee22ee00a9c1ec588965f32050a42e05946bc9f71 /documentation/dev-manual/qemu.rst
parent773536c333248214f8f41eff698d8bfd3c687249 (diff)
downloadpoky-c3c6de21876aad811e08538544c8fe76d22ccd09.tar.gz
manuals: code insertion simplification over two lines
This simplifies paragraphs ending with a colon and followed by code insertion. Automatically substituted through the command: sed -i -z "s/:\n\s*::/::/g" file.rst This generates identical HTML output. (From yocto-docs rev: 28e2192a7c12d64b68061138a9f6c796453eebb1) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual/qemu.rst')
-rw-r--r--documentation/dev-manual/qemu.rst24
1 files changed, 8 insertions, 16 deletions
diff --git a/documentation/dev-manual/qemu.rst b/documentation/dev-manual/qemu.rst
index 92799d6d25..2b6d3d76c7 100644
--- a/documentation/dev-manual/qemu.rst
+++ b/documentation/dev-manual/qemu.rst
@@ -55,16 +55,14 @@ available. Follow these general steps to run QEMU:
55 55
56 - If you cloned the ``poky`` repository or you downloaded and 56 - If you cloned the ``poky`` repository or you downloaded and
57 unpacked a Yocto Project release tarball, you can source the build 57 unpacked a Yocto Project release tarball, you can source the build
58 environment script (i.e. :ref:`structure-core-script`): 58 environment script (i.e. :ref:`structure-core-script`)::
59 ::
60 59
61 $ cd poky 60 $ cd poky
62 $ source oe-init-build-env 61 $ source oe-init-build-env
63 62
64 - If you installed a cross-toolchain, you can run the script that 63 - If you installed a cross-toolchain, you can run the script that
65 initializes the toolchain. For example, the following commands run 64 initializes the toolchain. For example, the following commands run
66 the initialization script from the default ``poky_sdk`` directory: 65 the initialization script from the default ``poky_sdk`` directory::
67 ::
68 66
69 . poky_sdk/environment-setup-core2-64-poky-linux 67 . poky_sdk/environment-setup-core2-64-poky-linux
70 68
@@ -86,8 +84,7 @@ available. Follow these general steps to run QEMU:
86 Extensible Software Development Kit (eSDK) manual for information on 84 Extensible Software Development Kit (eSDK) manual for information on
87 how to extract a root filesystem. 85 how to extract a root filesystem.
88 86
894. *Run QEMU:* The basic ``runqemu`` command syntax is as follows: 874. *Run QEMU:* The basic ``runqemu`` command syntax is as follows::
90 ::
91 88
92 $ runqemu [option ] [...] 89 $ runqemu [option ] [...]
93 90
@@ -222,18 +219,15 @@ using an NFS server.
222 Should you need to start, stop, or restart the NFS share, you can use 219 Should you need to start, stop, or restart the NFS share, you can use
223 the following commands: 220 the following commands:
224 221
225 - The following command starts the NFS share: 222 - The following command starts the NFS share::
226 ::
227 223
228 runqemu-export-rootfs start file-system-location 224 runqemu-export-rootfs start file-system-location
229 225
230 - The following command stops the NFS share: 226 - The following command stops the NFS share::
231 ::
232 227
233 runqemu-export-rootfs stop file-system-location 228 runqemu-export-rootfs stop file-system-location
234 229
235 - The following command restarts the NFS share: 230 - The following command restarts the NFS share::
236 ::
237 231
238 runqemu-export-rootfs restart file-system-location 232 runqemu-export-rootfs restart file-system-location
239 233
@@ -313,8 +307,7 @@ present, the toolchain is also automatically used.
313QEMU Command-Line Syntax 307QEMU Command-Line Syntax
314======================== 308========================
315 309
316The basic ``runqemu`` command syntax is as follows: 310The basic ``runqemu`` command syntax is as follows::
317::
318 311
319 $ runqemu [option ] [...] 312 $ runqemu [option ] [...]
320 313
@@ -325,8 +318,7 @@ timestamp when it needs to look for an image. Minimally, through the use
325of options, you must provide either a machine name, a virtual machine 318of options, you must provide either a machine name, a virtual machine
326image (``*wic.vmdk``), or a kernel image (``*.bin``). 319image (``*wic.vmdk``), or a kernel image (``*.bin``).
327 320
328Following is the command-line help output for the ``runqemu`` command: 321Following is the command-line help output for the ``runqemu`` command::
329::
330 322
331 $ runqemu --help 323 $ runqemu --help
332 324