aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-04-13 11:25:16 +0200
committerGitHub <noreply@github.com>2018-04-13 11:25:16 +0200
commitb0dfc7a076b65d7d8e25d0d3c02fed32f3c4a3fc (patch)
tree2126bf507817bf86972babf9fbe1f5f271608980 /docs
parent0a0c5db668972ea332ee720d81f9c67616340845 (diff)
Update syzbot.md
Diffstat (limited to 'docs')
-rw-r--r--docs/syzbot.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/syzbot.md b/docs/syzbot.md
index 8a92428a0..05f13234f 100644
--- a/docs/syzbot.md
+++ b/docs/syzbot.md
@@ -104,6 +104,18 @@ Exact compilers used by `syzbot` can be found here:
- [clang 7.0.0 (trunk 329060)](https://storage.googleapis.com/syzkaller/clang-kmsan-329060.tar.gz) (44MB)
A qemu-suitable Debian/wheezy image can be found [here](https://storage.googleapis.com/syzkaller/wheezy.img) (1GB, compression somehow breaks it), root ssh key for it is [here](https://storage.googleapis.com/syzkaller/wheezy.img.key).
+A reference `qemu` command line to run it is as follows:
+```
+qemu-system-x86_64 -hda wheezy.img -net user,hostfwd=tcp::10022-:22 \
+ -net nic -nographic -enable-kvm -m 2G -smp 4 -cpu host \
+ -kernel arch/x86/boot/bzImage \
+ -append "root=/dev/sda console=ttyS0 earlyprintk=serial rodata=n \
+ oops=panic panic_on_warn=1 panic=86400 kvm-intel.nested=1"
+```
+And then you can ssh into it using:
+```
+ssh -p 10022 -i wheezy.id_rsa root@localhost
+```
## No reproducer at all?