aboutsummaryrefslogtreecommitdiffstats
path: root/sys/kvm.txt
Commit message (Collapse)AuthorAgeFilesLines
* sys: move linux descriptions to sys/linuxDmitry Vyukov2017-09-151-777/+0
|
* sys: reformat descriptionsDmitry Vyukov2017-08-181-12/+12
|
* sys: provide list of intersting MSRs for KVMDmitry Vyukov2017-08-091-3/+6
|
* sys: fix KVM_RUN ioctlAndrey Konovalov2017-08-011-1/+1
| | | | | | | | KVM_RUN ioctl must have arg set to 0, otherwise it returns EINVAL. This can lead to syzkaller not able to generate a C repro. Since arg value is undefined, it might have different values when executing a program with syz-exeprog vs executing a compiled C repro.
* sys: improve kvm descriptionDmitry Vyukov2017-01-281-4/+42
| | | | | | Allow fuzzer to change types of segment descriptors. Alter more flags. Allow fuzzer to do a random vmwrite.
* sys: add KVM_ENABLE_CAP for vmDmitry Vyukov2017-01-181-5/+13
|
* sys, executor: more kvm improvementsDmitry Vyukov2017-01-121-3/+31
| | | | | | | 1. Basic support for arm64 kvm testing. 2. Fix compiler warnings in x86 kvm code. 3. Test all pseudo syz calls in csource. 4. Fix handling of real code in x86.
* sys: extend kvm supportDmitry Vyukov2017-01-091-18/+77
| | | | | | Add new pseudo syscall syz_kvm_setup_cpu that setups VCPU into interesting states for execution. KVM is too difficult to setup otherwise. Lots of improvements possible, but this is a starting point.
* sys: detail kvm syscalls moreDmitry Vyukov2017-01-091-23/+43
|
* sys: initialize kvm guest memoryDmitry Vyukov2016-11-141-3/+17
| | | | | Need much more complex support, but this is a starting point.
* sys: improve kvm descriptionsDmitry Vyukov2016-11-121-29/+231
|
* sys: add string flagsDmitry Vyukov2016-11-111-2/+2
| | | | | | | | | | Allow to define string flags in txt descriptions. E.g.: filesystem = "ext2", "ext3", "ext4" and then use it in string type: ptr[in, string[filesystem]]
* Rename duplicate fields in templatesAndrey Konovalov2016-10-101-2/+2
|
* sys: specify resources in text descriptionsDmitry Vyukov2016-08-271-91/+95
| | | | | | Currently to add a new resource one needs to modify multiple source files, which complicates descirption of new system calls. Move resource descriptions from source code to text desciptions.
* overhaul syscall description generation processDmitry Vyukov2016-08-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | This splits generation process into two phases: 1. Extract values of constants from linux kernel sources. 2. Generate Go code. Constant values are checked in. The advantage is that the second phase is now completely independent from linux source files, kernel version, presence of headers for particular drivers, etc. This allows to change what Go code we generate any time without access to all kernel headers (which in future won't be limited to only upstream headers). Constant extraction process does require proper kernel sources, but this can be done only once by the person who added the driver and has access to the required sources. Then the constant values are checked in for others to use. Consant extraction process is per-file/per-arch. That is, if I am adding a driver that is not present upstream and that works only on a single arch, I will check in constants only for that driver and for that arch.
* sys: fix kvm_pit_channel_state.count_load_time typeDmitry Vyukov2016-06-211-1/+1
|
* sys: fix arg typeDmitry Vyukov2016-01-231-1/+1
|
* sys: use kernel headers instead of host headersDmitry Vyukov2016-01-221-10/+1
| | | | | | | | This solves several problems: - host usually have outdates headers, so previously we need to define missing consts - host may not have some headers at all - generation depends on linux distribution and version - some of the consts cannot be defined at all (e.g. ioctls that use struct arguments)
* sys: introduce a generic syz_open_dev helper syscallDmitry Vyukov2016-01-131-1/+1
|
* sys: support /dev/snd/seqDmitry Vyukov2016-01-111-6/+0
|
* sys: add kvm supportDmitry Vyukov2016-01-081-0/+415