metan-ucw / runltp-ng

Minimalistic LTP testrunner
11 stars 16 forks source link

Features for helping to run Syzkaller reproducers #8

Closed richiejp closed 4 years ago

richiejp commented 4 years ago

Added timeout argument, because we need much shorter timeouts while running the reproducers.

We also need to protect the qcow2 image. We can do this by creating an overlay with qemu-img and reverting it during reboot. We could also create a new overlay after boot using QEMU's migrate to disk and revert to that to skip bootup. However this requires a bit more work to use QEMU's QMP interface and creates other performance issues with loading and saving RAM.

It may also be nice to add an optional second serial port to separate the kernel log and shell.