Skip to content

Commit 60136f0

Browse files
dbkindernashif
authored andcommitted
doc: add how to exit from QEMU in samples
While trying out the hello_world sample built for QEMU, I was expecting the sample app to exit and I'd return to a command prompt. Nope. You need to exit QEMU manually, so add that step to the sample instructions. Looking around, there are more uses of QEMU like this that could use this added step after running the sample app. Signed-off-by: David B. Kinder <[email protected]>
1 parent f04ca02 commit 60136f0

File tree

22 files changed

+38
-2
lines changed

22 files changed

+38
-2
lines changed

boards/arm/qemu_cortex_m3/doc/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ QEMU, and display the following console output:
102102
threadA: Hello World from arm!
103103
threadB: Hello World from arm!
104104
105+
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.
106+
105107
Debugging
106108
=========
107109

boards/nios2/qemu_nios2/doc/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ QEMU, and display the following console output:
107107
threadA: Hello World from arm!
108108
threadB: Hello World from arm!
109109
110+
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.
111+
110112
Debugging
111113
=========
112114

boards/riscv/qemu_riscv32/doc/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ QEMU, and display the following console output:
5252
threadA: Hello World from riscv32!
5353
threadB: Hello World from riscv32!
5454
55+
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.
56+
5557
Debugging
5658
=========
5759

boards/riscv/qemu_riscv64/doc/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ QEMU, and display the following console output:
6262
threadA: Hello World from riscv64!
6363
threadB: Hello World from riscv64!
6464
65+
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.
66+
6567
Debugging
6668
=========
6769

boards/x86/qemu_x86/doc/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ QEMU, and display the following console output:
111111
threadA: Hello World from x86!
112112
threadB: Hello World from x86!
113113
114+
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.
115+
114116
Debugging
115117
=========
116118

boards/xtensa/qemu_xtensa/doc/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ QEMU, and display the following console output:
4545
threadA: Hello World from xtensa!
4646
threadB: Hello World from xtensa!
4747
48+
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.
49+
4850
Debugging
4951
=========
5052

doc/guides/networking/qemu_eth_setup.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,5 @@ In terminal #2, type:
8181
:gen-args: -DOVERLAY_CONFIG=overlay-e1000.conf
8282
:goals: run
8383
:compact:
84+
85+
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.

doc/guides/networking/qemu_setup.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ laptop to normal Wi-Fi use.
138138
To stop the daemons, press Ctrl+C in the corresponding terminal windows
139139
(you need to stop both ``loop-slip-tap.sh`` and ``loop-socat.sh``).
140140

141+
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.
141142

142143
.. _networking_internet:
143144

samples/hello_world/README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,5 @@ Sample Output
3030
.. code-block:: console
3131
3232
Hello World! x86
33+
34+
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.

samples/net/sockets/big_http_download/README.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ Build the Zephyr version of the application like this:
3737
:compact:
3838

3939
``board_to_use`` defaults to ``qemu_x86``. In this case, you can run the
40-
application in QEMU using ``make run``. If you used another BOARD, you
40+
application in QEMU using ``make run``.
41+
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.
42+
If you used another BOARD, you
4143
will need to consult its documentation for application deployment
4244
instructions. You can read about Zephyr support for specific boards in
4345
the documentation at :ref:`boards`.

0 commit comments

Comments
 (0)