[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 07/14] docs/emulation: expand warning about semihosting
|
From: |
Alex Bennée |
|
Subject: |
[PULL 07/14] docs/emulation: expand warning about semihosting |
|
Date: |
Thu, 23 Nov 2023 15:56:13 +0000 |
A surprising feature of calls like SYS_READC is this can cause QEMU to
indefinitely block as there is no handling for EOF.
Clarifies: https://gitlab.com/qemu-project/qemu/-/issues/1963
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231120150833.2552739-8-alex.bennee@linaro.org>
diff --git a/docs/about/emulation.rst b/docs/about/emulation.rst
index 0ad0b86f0d..a2eefe3f3f 100644
--- a/docs/about/emulation.rst
+++ b/docs/about/emulation.rst
@@ -129,8 +129,9 @@ causing most hypervisors to trap and fault on them.
.. warning::
Semihosting inherently bypasses any isolation there may be between
the guest and the host. As a result a program using semihosting can
- happily trash your host system. You should only ever run trusted
- code with semihosting enabled.
+ happily trash your host system. Some semihosting calls (e.g.
+ ``SYS_READC``) can block execution indefinitely. You should only
+ ever run trusted code with semihosting enabled.
Redirection
~~~~~~~~~~~
--
2.39.2
- [PULL 00/14] random fixes for 8.2 (tests, plugins, docs, semihosting), Alex Bennée, 2023/11/23
- [PULL 01/14] tests/docker: replace fedora-i386 with debian-i686, Alex Bennée, 2023/11/23
- [PULL 02/14] .gitlab-ci.d/cirrus: Upgrade macOS to 13 (Ventura), Alex Bennée, 2023/11/23
- [PULL 06/14] tests/tcg: fixup Aarch64 semiconsole test, Alex Bennée, 2023/11/23
- [PULL 03/14] tests/docker: merge debian-native with debian-amd64, Alex Bennée, 2023/11/23
- [PULL 04/14] plugins: fix win plugin tests on cross compile, Alex Bennée, 2023/11/23
- [PULL 10/14] testing: move arm system tests into their own folder, Alex Bennée, 2023/11/23
- [PULL 08/14] docs/system: clarify limits of using gdbstub in system emulation, Alex Bennée, 2023/11/23
- [PULL 05/14] target/nios2: Deprecate the Nios II architecture, Alex Bennée, 2023/11/23
- [PULL 11/14] tests/tcg: enable arm softmmu tests, Alex Bennée, 2023/11/23
- [PULL 07/14] docs/emulation: expand warning about semihosting,
Alex Bennée <=
- [PULL 12/14] tests/tcg: enable semiconsole test for Arm, Alex Bennée, 2023/11/23
- [PULL 13/14] configure: don't try a "native" cross for linux-user, Alex Bennée, 2023/11/23
- [PULL 14/14] tests/tcg: finesse the registers check for "hidden" regs, Alex Bennée, 2023/11/23
- [PULL 09/14] hw/core: skip loading debug on all failures, Alex Bennée, 2023/11/23
- Re: [PULL 00/14] random fixes for 8.2 (tests, plugins, docs, semihosting), Stefan Hajnoczi, 2023/11/27