diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2024-06-11 15:17:26 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-06-11 13:54:37 +0000 |
| commit | 6f072af424955065231bb78d80a720219d168891 (patch) | |
| tree | 0e9c4af958f1a2337207c612e2ca3fdc2b170f92 /docs | |
| parent | c7d7d81522b8ac26f9ff6b86d616d4d2e2249709 (diff) | |
docs/syzbot_assets.md: provide a sample qemu command for arm64
In case of ARM64 bugs, we need to use a somewhat different set of qemu
arguments to run the kernel from syzbot assets locally.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/syzbot_assets.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/syzbot_assets.md b/docs/syzbot_assets.md index a4500952b..818274401 100644 --- a/docs/syzbot_assets.md +++ b/docs/syzbot_assets.md @@ -140,6 +140,15 @@ $ ./bin/syz-crush -config config.json repro.syz ``` +#### Reproducing ARM64 bugs + +If the bug was found on an ARM64 instance (e.g. the manager name is +`ci-upstream-gce-arm64`), you may use the following qemu command as a reference: + +``` +$ qemu-system-aarch64 -machine virt -cpu cortex-a57 -smp 4 -m 4G -nographic -drive file=disk.raw,if=none,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -kernel Image -net user,hostfwd=tcp::10023-:22 -net nic -append "root=/dev/vda2" -accel tcg,thread=multi +``` + ### Problems #### The bug doesn't reproduce |
