github.com/google/syzkaller@v0.0.0-20251211124644-a066d2bc4b02/pkg/mgrconfig/testdata/qemu-example.cfg (about)

     1  {
     2          "target": "linux/amd64",
     3          "http": "0.0.0.0:56741",
     4          # !! Replace /syzkaller with the path to the syzkaller checkout.
     5          # Workdir can be in whatever folder, keeping it in the checkout is just most convenient.
     6          "workdir": "./testdata/syzkaller/workdir",
     7          # !! Replace /linux with the path to the kernel checkout.
     8          # !! The kernel must be already built.
     9          # Here are the kernel config options that facilitate fuzzing: https://github.com/google/syzkaller/blob/master/docs/linux/kernel_configs.md
    10          "kernel_obj": "/linux",
    11          # !! Replace with the path to the disk image file.
    12          # The Buildroot image used by syzbot can be downloaded here: https://storage.googleapis.com/syzkaller/images/buildroot_amd64_2024.09.gz
    13          # (Don't forget to uncompress it!).
    14          "image": "./testdata/wheezy.img",
    15  	# !! Replace with the path to the syzkaller checkout.
    16          "syzkaller": "./testdata/syzkaller",
    17          "procs": 4,
    18          "type": "qemu",
    19          "vm": {
    20                  "count": 4,
    21                  # !! Adjust this path accordingly.
    22                  "kernel": "/linux/arch/x86/boot/bzImage",
    23                  # Note that syzkaller will use `count` * `cpu` CPUs and `count` * `mem` RAM.
    24                  "cpu": 2,
    25                  "mem": 2048
    26          }
    27  }