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