Last active
December 11, 2023 02:09
-
-
Save davidlohr/0eb07b5ebc744f1e556daccb55b48a9c to your computer and use it in GitHub Desktop.
syzkaller config - qemu deployment emulating a simple setup with just one directly attached CXL Type 3 Persistent Memory device
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"target": "linux/amd64", | |
"http": "127.0.0.1:56741", | |
"workdir": "workdir", | |
"kernel_obj": "/home/dave/code/linux/", | |
"image": "/img/bullseye.img", | |
"sshkey": "/img/bullseye.id_rsa", | |
"syzkaller": "/home/dave/code/syzkaller", | |
"procs": 8, | |
"type": "qemu", | |
"enable_syscalls": [ "openat$cxl*", "write$cxl*", "ioctl$CXL*","syz_open_dev$cxlmem*" ], | |
"vm": { | |
"qemu": "/home/dave/git/qemu-vanilla/build/qemu-system-x86_64", | |
"count": 1, | |
"qemu_args": "-machine q35,accel=kvm,cxl=on -object memory-backend-file,id=cxl-mem1,share=on,mem-path=/tmp/cxltest.raw,size=256M -object memory-backend-file,id=cxl-lsa1,share=on,mem-path=/tmp/lsa.raw,size=256M -device pxb-cxl,bus_nr=12,bus=pcie.0,id=cxl.1 -device cxl-rp,port=0,bus=cxl.1,id=root_port13,chassis=0,slot=2 -device cxl-type3,bus=root_port13,persistent-memdev=cxl-mem1,lsa=cxl-lsa1,id=cxl-pmem0 -M cxl-fmw.0.targets.0=cxl.1,cxl-fmw.0.size=4G", | |
"kernel": "/home/dave/code/linux/arch/x86/boot/bzImage", | |
"cmdline": "net.ifnames=0 cxl_acpi.dyndbg=+fplm cxl_pci.dyndbg=+fplm cxl_core.dyndbg=+fplm cxl_mem.dyndbg=+fplm cxl_pmem.dyndbg=+fplm cxl_port.dyndbg=+fplm cxl_region.dyndbg=+fplm cxl_test.dyndbg=+fplm", | |
"cpu": 4, | |
"mem": 2048 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment