mirror of
https://github.com/qemu/qemu.git
synced 2026-04-05 22:00:58 +00:00
docs and tests: assets moved after GitHub account renaming
GitHub setup a permanent redirection for all repositories when accounts, so the old links will keep on working also. However, GitHub allow this username to be reused again. To ensure no one can inject malicious content, I took ownership of the (newly free) pbo-linaro account [1], so no one else can claim it. [1] https://github.com/pbo-linaro Reviewed-by: Cédric Le Goater <clg@redhat.com> Link: https://lore.kernel.org/qemu-devel/20260326214436.256215-1-pierrick.bouvier@linaro.org Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
This commit is contained in:
@@ -898,24 +898,24 @@ As an example, we can trace qemu itself running git::
|
||||
$ uftrace dump --chrome | gzip > ~/qemu_aarch64_git_help.json.gz
|
||||
|
||||
For convenience, you can download this trace `qemu_aarch64_git_help.json.gz
|
||||
<https://github.com/pbo-linaro/qemu-assets/raw/refs/heads/master/qemu-uftrace/qemu_aarch64_git_help.json.gz>`_.
|
||||
<https://github.com/p-b-o/qemu-assets/raw/refs/heads/master/qemu-uftrace/qemu_aarch64_git_help.json.gz>`_.
|
||||
Download it and open this trace on https://ui.perfetto.dev/. You can zoom in/out
|
||||
using :kbd:`W`, :kbd:`A`, :kbd:`S`, :kbd:`D` keys.
|
||||
Some sequences taken from this trace:
|
||||
|
||||
- Loading program and its interpreter
|
||||
|
||||
.. image:: https://github.com/pbo-linaro/qemu-assets/blob/master/qemu-uftrace/loader_exec.png?raw=true
|
||||
.. image:: https://github.com/p-b-o/qemu-assets/blob/master/qemu-uftrace/loader_exec.png?raw=true
|
||||
:height: 200px
|
||||
|
||||
- open syscall
|
||||
|
||||
.. image:: https://github.com/pbo-linaro/qemu-assets/blob/master/qemu-uftrace/open_syscall.png?raw=true
|
||||
.. image:: https://github.com/p-b-o/qemu-assets/blob/master/qemu-uftrace/open_syscall.png?raw=true
|
||||
:height: 200px
|
||||
|
||||
- TB creation
|
||||
|
||||
.. image:: https://github.com/pbo-linaro/qemu-assets/blob/master/qemu-uftrace/tb_translation.png?raw=true
|
||||
.. image:: https://github.com/p-b-o/qemu-assets/blob/master/qemu-uftrace/tb_translation.png?raw=true
|
||||
:height: 200px
|
||||
|
||||
It's usually better to use ``uftrace record`` directly. However, tracing
|
||||
@@ -928,7 +928,7 @@ Example system trace
|
||||
|
||||
A full trace example (chrome trace, from instructions below) generated from a
|
||||
system boot can be found `here
|
||||
<https://github.com/pbo-linaro/qemu-assets/raw/refs/heads/master/qemu-uftrace/aarch64_boot.json.gz>`_.
|
||||
<https://github.com/p-b-o/qemu-assets/raw/refs/heads/master/qemu-uftrace/aarch64_boot.json.gz>`_.
|
||||
Download it and open this trace on https://ui.perfetto.dev/. You can see code
|
||||
executed for all privilege levels, and zoom in/out using
|
||||
:kbd:`W`, :kbd:`A`, :kbd:`S`, :kbd:`D` keys. You can find below some sequences
|
||||
@@ -936,27 +936,27 @@ taken from this trace:
|
||||
|
||||
- Two first stages of boot sequence in Arm Trusted Firmware (EL3 and S-EL1)
|
||||
|
||||
.. image:: https://github.com/pbo-linaro/qemu-assets/blob/master/qemu-uftrace/bl3_to_bl1.png?raw=true
|
||||
.. image:: https://github.com/p-b-o/qemu-assets/blob/master/qemu-uftrace/bl3_to_bl1.png?raw=true
|
||||
:height: 200px
|
||||
|
||||
- U-boot initialization (until code relocation, after which we can't track it)
|
||||
|
||||
.. image:: https://github.com/pbo-linaro/qemu-assets/blob/master/qemu-uftrace/uboot.png?raw=true
|
||||
.. image:: https://github.com/p-b-o/qemu-assets/blob/master/qemu-uftrace/uboot.png?raw=true
|
||||
:height: 200px
|
||||
|
||||
- Stat and open syscalls in kernel
|
||||
|
||||
.. image:: https://github.com/pbo-linaro/qemu-assets/blob/master/qemu-uftrace/stat.png?raw=true
|
||||
.. image:: https://github.com/p-b-o/qemu-assets/blob/master/qemu-uftrace/stat.png?raw=true
|
||||
:height: 200px
|
||||
|
||||
- Timer interrupt
|
||||
|
||||
.. image:: https://github.com/pbo-linaro/qemu-assets/blob/master/qemu-uftrace/timer_interrupt.png?raw=true
|
||||
.. image:: https://github.com/p-b-o/qemu-assets/blob/master/qemu-uftrace/timer_interrupt.png?raw=true
|
||||
:height: 200px
|
||||
|
||||
- Poweroff sequence (from kernel back to firmware, NS-EL2 to EL3)
|
||||
|
||||
.. image:: https://github.com/pbo-linaro/qemu-assets/blob/master/qemu-uftrace/poweroff.png?raw=true
|
||||
.. image:: https://github.com/p-b-o/qemu-assets/blob/master/qemu-uftrace/poweroff.png?raw=true
|
||||
:height: 200px
|
||||
|
||||
Build and run system example
|
||||
@@ -966,7 +966,7 @@ Build and run system example
|
||||
|
||||
Building a full system image with frame pointers is not trivial.
|
||||
|
||||
We provide a `simple way <https://github.com/pbo-linaro/qemu-linux-stack>`_ to
|
||||
We provide a `simple way <https://github.com/p-b-o/qemu-linux-stack>`_ to
|
||||
build an aarch64 system, combining Arm Trusted firmware, U-boot, Linux kernel
|
||||
and debian userland. It's based on containers (``podman`` only) and
|
||||
``qemu-user-static (binfmt)`` to make sure it's easily reproducible and does not depend
|
||||
@@ -974,18 +974,18 @@ on machine where you build it.
|
||||
|
||||
You can follow the exact same instructions for a x64 system, combining edk2,
|
||||
Linux, and Ubuntu, simply by switching to
|
||||
`x86_64 <https://github.com/pbo-linaro/qemu-linux-stack/tree/x86_64>`_ branch.
|
||||
`x86_64 <https://github.com/p-b-o/qemu-linux-stack/tree/x86_64>`_ branch.
|
||||
|
||||
You can follow the exact same instructions for a riscv64 system, combining
|
||||
opensbi, Linux, and Ubuntu, simply by switching to
|
||||
`riscv64 <https://github.com/pbo-linaro/qemu-linux-stack/tree/riscv64>`_ branch.
|
||||
`riscv64 <https://github.com/p-b-o/qemu-linux-stack/tree/riscv64>`_ branch.
|
||||
|
||||
To build and run the system::
|
||||
|
||||
# Install dependencies
|
||||
$ sudo apt install -y podman qemu-user-static
|
||||
|
||||
$ git clone https://github.com/pbo-linaro/qemu-linux-stack
|
||||
$ git clone https://github.com/p-b-o/qemu-linux-stack
|
||||
$ cd qemu-linux-stack
|
||||
$ ./build.sh
|
||||
|
||||
|
||||
@@ -78,14 +78,14 @@ echo device_passthrough_test_ok
|
||||
|
||||
class Aarch64DevicePassthrough(QemuSystemTest):
|
||||
|
||||
# https://github.com/pbo-linaro/qemu-linux-stack/tree/device_passthrough
|
||||
# https://github.com/p-b-o/qemu-linux-stack/tree/device_passthrough
|
||||
# $ ./build.sh && ./archive_artifacts.sh out.tar.xz
|
||||
#
|
||||
# Linux kernel is compiled with defconfig +
|
||||
# IOMMUFD + VFIO_DEVICE_CDEV + ARM_SMMU_V3_IOMMUFD
|
||||
# https://docs.kernel.org/driver-api/vfio.html#vfio-device-cde
|
||||
ASSET_DEVICE_PASSTHROUGH_STACK = Asset(
|
||||
('https://github.com/pbo-linaro/qemu-linux-stack/'
|
||||
('https://github.com/p-b-o/qemu-linux-stack/'
|
||||
'releases/download/build/device_passthrough-a9612a2.tar.xz'),
|
||||
'f7d2f70912e7231986e6e293e1a2c4786dd02bec113a7acb6bfc619e96155455')
|
||||
|
||||
|
||||
@@ -20,10 +20,10 @@ class Aarch64RMESbsaRefMachine(QemuSystemTest):
|
||||
|
||||
# Stack is inspired from:
|
||||
# https://linaro.atlassian.net/wiki/spaces/QEMU/pages/29051027459/
|
||||
# https://github.com/pbo-linaro/qemu-linux-stack/tree/rme_sbsa_release
|
||||
# https://github.com/p-b-o/qemu-linux-stack/tree/rme_sbsa_release
|
||||
# ./build.sh && ./archive_artifacts.sh out.tar.xz
|
||||
ASSET_RME_STACK_SBSA = Asset(
|
||||
('https://github.com/pbo-linaro/qemu-linux-stack/'
|
||||
('https://github.com/p-b-o/qemu-linux-stack/'
|
||||
'releases/download/build/rme_sbsa_release-6a2dfc5.tar.xz'),
|
||||
'5adba482aa069912292a8da746c6b21268224d9d81c97fe7c0bed690579ebdcb')
|
||||
|
||||
|
||||
@@ -19,10 +19,10 @@ class Aarch64RMEVirtMachine(QemuSystemTest):
|
||||
|
||||
# Stack is inspired from:
|
||||
# https://linaro.atlassian.net/wiki/spaces/QEMU/pages/29051027459/
|
||||
# https://github.com/pbo-linaro/qemu-linux-stack/tree/rme_release
|
||||
# https://github.com/p-b-o/qemu-linux-stack/tree/rme_release
|
||||
# ./build.sh && ./archive_artifacts.sh out.tar.xz
|
||||
ASSET_RME_STACK_VIRT = Asset(
|
||||
('https://github.com/pbo-linaro/qemu-linux-stack/'
|
||||
('https://github.com/p-b-o/qemu-linux-stack/'
|
||||
'releases/download/build/rme_release-56bc99e.tar.xz'),
|
||||
'0e3dc6b8a4b828dbae09c951a40dcb710eded084b32432b50c69cf4173ffa4be')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user