From 6f072af424955065231bb78d80a720219d168891 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Tue, 11 Jun 2024 15:17:26 +0200 Subject: 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. --- docs/syzbot_assets.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs') 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 -- cgit mrf-deployment