002655381f
contrib/plugins: allow setting of instructions per quantum
...
The default is we update time every 1/10th of a second or so. However
for some cases we might want to update time more frequently. Allow
this to be set via the command line through the ipq argument.
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-ID: <20250603110204.838117-7-alex.bennee@linaro.org >
2025-06-07 16:40:44 +01:00
672cb29d1e
docs/about/emulation: Fix broken link
...
semihosting link to risc-v changed
Signed-off-by: Santiago Monserrat Campanello <santimonserr@gmail.com >
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2717
Reviewed-by: Alistair Francis <alistair.francis@wdc.com >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Message-ID: <20250305102632.91376-1-santimonserr@gmail.com >
Signed-off-by: Alistair Francis <alistair.francis@wdc.com >
2025-03-19 16:30:13 +10:00
7f6314427e
docs/devel: add a codebase section
...
Present the various parts of QEMU and organization of codebase.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org >
Message-Id: <20241209183104.365796-6-pierrick.bouvier@linaro.org >
[AJB: tweak commit summary, update MAINTAINERS]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20250116160306.1709518-36-alex.bennee@linaro.org >
2025-01-17 10:45:49 +00:00
f2505260b3
plugins: add option to dump write argument to syscall plugin
...
Signed-off-by: Rowan Hart <rowanbhart@gmail.com >
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org >
Tested-by: Pierrick Bouvier <pierrick.bouvier@linaro.org >
Message-Id: <20240827215329.248434-3-rowanbhart@gmail.com >
[AJB: tweak fmt string for vaddr]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20240916085400.1046925-18-alex.bennee@linaro.org >
2024-09-19 15:58:01 +01:00
0d279bec0f
contrib/plugins: Add a plugin to generate basic block vectors
...
SimPoint is a widely used tool to find the ideal microarchitecture
simulation points so Valgrind[2] and Pin[3] support generating basic
block vectors for use with them. Let's add a corresponding plugin to
QEMU too.
Note that this plugin has a different goal with tests/plugin/bb.c.
This plugin creates a vector for each constant interval instead of
counting the execution of basic blocks for the entire run and able to
describe the change of execution behavior. Its output is also
syntactically simple and better suited for parsing, while the output of
tests/plugin/bb.c is more human-readable.
[1] https://cseweb.ucsd.edu/~calder/simpoint/
[2] https://valgrind.org/docs/manual/bbv-manual.html
[3] https://www.intel.com/content/www/us/en/developer/articles/tool/pin-a-dynamic-binary-instrumentation-tool.html
Signed-off-by: Yotaro Nada <yotaro.nada@gmail.com >
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com >
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org >
Message-Id: <20240816-bb-v3-1-b9aa4a5c75c5@daynix.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20240916085400.1046925-16-alex.bennee@linaro.org >
2024-09-19 15:58:01 +01:00
44e4075bf4
target/cris: Remove the deprecated CRIS target
...
The CRIS target is deprecated since v9.0 (commit c7bbef4023
"docs: mark CRIS support as deprecated").
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Acked-by: Edgar E. Iglesias <edgar.iglesias@amd.com >
Message-ID: <20240904143603.52934-14-philmd@linaro.org >
2024-09-13 20:11:13 +02:00
3f9f9a37ae
docs/devel: update tcg-plugins page
...
Reflect recent changes on API (inline ops) and new plugins.
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org >
Message-Id: <20240812231945.169310-1-pierrick.bouvier@linaro.org >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20240813202329.1237572-21-alex.bennee@linaro.org >
2024-08-16 14:13:07 +01:00
6484a3e55b
docs: split TCG plugin usage from devel section
...
The devel section is getting quite messy with the breakdown of the
example plugins which should be usable by users. As we mention plugins
in the emulation section along with semihosting move the overview
there leaving the development section about the details of writing
plugins.
While we are at make the headings nicer and convert the option lists
into nicely formatted tables.
Acked-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20240729144414.830369-11-alex.bennee@linaro.org >
2024-07-30 11:44:18 +01:00
9ea0f206b7
docs: Correct Loongarch -> LoongArch
...
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com >
Tested-by: Jiaxun Yang <jiaxun.yang@flygoat.com >
Message-Id: <20240718133312.10324-20-philmd@linaro.org >
2024-07-23 20:30:36 +02:00
6c3014858c
target/nios2: Remove the deprecated Nios II target
...
The Nios II target is deprecated since v8.2 in commit 9997771bc1
("target/nios2: Deprecate the Nios II architecture").
Remove:
- Buildsys / CI infra
- User emulation
- System emulation (10m50-ghrd & nios2-generic-nommu machines)
- Tests
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Acked-by: Marek Vasut <marex@denx.de >
Message-Id: <20240327144806.11319-3-philmd@linaro.org >
2024-04-24 16:03:38 +02:00
ef073ebd32
docs/emulation: expand warning about semihosting
...
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 >
2023-11-23 14:10:06 +00:00
c70bb9a771
docs/about/emulation: fix typo
...
Duplicated word "are".
Signed-off-by: Lizhi Yang <sledgeh4w@gmail.com >
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org >
Message-Id: <20230511080119.99018-1-sledgeh4w@gmail.com >
Signed-off-by: Thomas Huth <thuth@redhat.com >
2023-05-16 09:14:18 +02:00
2da9d21360
semihosting: add semihosting section to the docs
...
The main reason to do this is to document our O_BINARY implementation
decision somewhere. However I've also moved some of the implementation
details out of qemu-options and added links between the two. As a
bonus I've highlighted the scary warnings about host access with the
appropriate RST tags.
Acked-by: Richard Henderson <richard.henderson@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20230124180127.1881110-22-alex.bennee@linaro.org >
2023-02-02 10:44:23 +00:00
a0a6754bb5
docs: add a new section to outline emulation support
...
This affects both system and user mode emulation so we should probably
list it up front.
Acked-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20230124180127.1881110-21-alex.bennee@linaro.org >
2023-02-02 10:44:23 +00:00