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 <david.b.kinder@intel.com>
This commit is contained in:
David B. Kinder 2019-08-28 15:46:09 -07:00 committed by Anas Nashif
commit 60136f00cb
22 changed files with 38 additions and 2 deletions

View file

@ -102,6 +102,8 @@ QEMU, and display the following console output:
threadA: Hello World from arm! threadA: Hello World from arm!
threadB: Hello World from arm! threadB: Hello World from arm!
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.
Debugging Debugging
========= =========

View file

@ -107,6 +107,8 @@ QEMU, and display the following console output:
threadA: Hello World from arm! threadA: Hello World from arm!
threadB: Hello World from arm! threadB: Hello World from arm!
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.
Debugging Debugging
========= =========

View file

@ -52,6 +52,8 @@ QEMU, and display the following console output:
threadA: Hello World from riscv32! threadA: Hello World from riscv32!
threadB: Hello World from riscv32! threadB: Hello World from riscv32!
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.
Debugging Debugging
========= =========

View file

@ -62,6 +62,8 @@ QEMU, and display the following console output:
threadA: Hello World from riscv64! threadA: Hello World from riscv64!
threadB: Hello World from riscv64! threadB: Hello World from riscv64!
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.
Debugging Debugging
========= =========

View file

@ -111,6 +111,8 @@ QEMU, and display the following console output:
threadA: Hello World from x86! threadA: Hello World from x86!
threadB: Hello World from x86! threadB: Hello World from x86!
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.
Debugging Debugging
========= =========

View file

@ -45,6 +45,8 @@ QEMU, and display the following console output:
threadA: Hello World from xtensa! threadA: Hello World from xtensa!
threadB: Hello World from xtensa! threadB: Hello World from xtensa!
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.
Debugging Debugging
========= =========

View file

@ -81,3 +81,5 @@ In terminal #2, type:
:gen-args: -DOVERLAY_CONFIG=overlay-e1000.conf :gen-args: -DOVERLAY_CONFIG=overlay-e1000.conf
:goals: run :goals: run
:compact: :compact:
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.

View file

@ -138,6 +138,7 @@ laptop to normal Wi-Fi use.
To stop the daemons, press Ctrl+C in the corresponding terminal windows To stop the daemons, press Ctrl+C in the corresponding terminal windows
(you need to stop both ``loop-slip-tap.sh`` and ``loop-socat.sh``). (you need to stop both ``loop-slip-tap.sh`` and ``loop-socat.sh``).
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.
.. _networking_internet: .. _networking_internet:

View file

@ -30,3 +30,5 @@ Sample Output
.. code-block:: console .. code-block:: console
Hello World! x86 Hello World! x86
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.

View file

@ -37,7 +37,9 @@ Build the Zephyr version of the application like this:
:compact: :compact:
``board_to_use`` defaults to ``qemu_x86``. In this case, you can run the ``board_to_use`` defaults to ``qemu_x86``. In this case, you can run the
application in QEMU using ``make run``. If you used another BOARD, you application in QEMU using ``make run``.
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.
If you used another BOARD, you
will need to consult its documentation for application deployment will need to consult its documentation for application deployment
instructions. You can read about Zephyr support for specific boards in instructions. You can read about Zephyr support for specific boards in
the documentation at :ref:`boards`. the documentation at :ref:`boards`.

View file

@ -154,6 +154,7 @@ Run echo-client application in QEMU:
Note that echo-server must be running in the Linux host terminal window Note that echo-server must be running in the Linux host terminal window
before you start the echo-client application in QEMU. before you start the echo-client application in QEMU.
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.
You can verify TLS communication with a Linux host as well. See You can verify TLS communication with a Linux host as well. See
https://github.com/zephyrproject-rtos/net-tools documentation for information https://github.com/zephyrproject-rtos/net-tools documentation for information

View file

@ -44,6 +44,7 @@ After the sample starts, it issues HTTP GET request to "google.com:80"
and dumps the response. You can edit the source code to issue a request and dumps the response. You can edit the source code to issue a request
to any other site on the Internet (or on the local network, in which to any other site on the Internet (or on the local network, in which
case no NAT/routing setup is needed). case no NAT/routing setup is needed).
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.
Enabling TLS support Enabling TLS support
================================= =================================

View file

@ -62,4 +62,4 @@ Sample Output
Philosopher 4 [C:-1] THINKING [ 2200 ms ] Philosopher 4 [C:-1] THINKING [ 2200 ms ]
Philosopher 5 [C:-2] THINKING [ 1700 ms ] Philosopher 5 [C:-2] THINKING [ 1700 ms ]
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.

View file

@ -54,3 +54,5 @@ Sample Output
CMSIS RTOS V1 APIs. This particular implementation demonstrates the CMSIS RTOS V1 APIs. This particular implementation demonstrates the
usage of multiple preemptible threads of differing usage of multiple preemptible threads of differing
priorities, as well as semaphores and thread sleeping. priorities, as well as semaphores and thread sleeping.
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.

View file

@ -64,3 +64,4 @@ Sample Output
Sample execution successful Sample execution successful
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.

View file

@ -54,3 +54,5 @@ Sample Output
CMSIS RTOS V2 APIs. This particular implementation demonstrates the CMSIS RTOS V2 APIs. This particular implementation demonstrates the
usage of multiple preemptible threads of differing usage of multiple preemptible threads of differing
priorities, as well as semaphores and thread sleeping. priorities, as well as semaphores and thread sleeping.
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.

View file

@ -63,3 +63,5 @@ Sample Output
Read from message queue: 15 Read from message queue: 15
Sample execution successful Sample execution successful
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.

View file

@ -39,3 +39,4 @@ The easiest way to run this sample is using QEMU:
Now start pressing keys on a keyboard, and they will be printed both as Now start pressing keys on a keyboard, and they will be printed both as
hex values and in character form. Be sure to press Enter, Up/Down, etc. hex values and in character form. Be sure to press Enter, Up/Down, etc.
key to check what control characters are produced for them. key to check what control characters are produced for them.
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.

View file

@ -40,3 +40,4 @@ Now start pressing keys on a keyboard, followed by Enter. The input line
will be printed back, with a hex code of the last character, to show that will be printed back, with a hex code of the last character, to show that
line does not include any special "end of line" characters (like LF, CR, line does not include any special "end of line" characters (like LF, CR,
etc.) etc.)
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.

View file

@ -67,3 +67,5 @@ Sample Output
[00:00:03.166,006] <wrn> ext_log_system: warning level log, 2 arguments: 12 [00:00:03.166,006] <wrn> ext_log_system: warning level log, 2 arguments: 12
[00:00:03.166,025] <inf> ext_log_system: notice level log, 3 arguments: 105 [00:00:03.166,025] <inf> ext_log_system: notice level log, 3 arguments: 105
[00:00:03.166,044] <inf> ext_log_system: info level log, 4 arguments : 1 24 [00:00:03.166,044] <inf> ext_log_system: info level log, 4 arguments : 1 24
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.

View file

@ -42,3 +42,5 @@ Sample Output
threadB: Hello World! threadB: Hello World!
<repeats endlessly> <repeats endlessly>
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.

View file

@ -38,6 +38,8 @@ message is the output of the first message, and the resulting
output is the first message without spaces. The two messages are output is the first message without spaces. The two messages are
marked as 1 and 1' respectively. marked as 1 and 1' respectively.
Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.
Two definitions can be inserted to change the wheel settings and print Two definitions can be inserted to change the wheel settings and print
the state information. To enable the definitions uncomment the last the state information. To enable the definitions uncomment the last
two lines in CMakelists.txt. two lines in CMakelists.txt.