syzkaller/vm
Dmitry Vyukov a2d178996b vm: add workdir_template functionality
The new manager config argument workdir_template refers to a directory. Optional.
Each VM will get a recursive copy of the files that are present in workdir_template.
VM config can then use these private copies as needed. The copy directory
can be referenced with "{{TEMPLATE}}" string. This is different from using
the files directly in that each instance will get own clean, private,
scratch copy of the files. Currently supported only for qemu_args argument
of qemu VM type. Use example:
Create a template dir with necessary files:
$ mkdir /mytemplatedir
$ truncate -s 64K /mytemplatedir/fd
Then specify the dir in the manager config:
	"workdir_template": "/mytemplatedir"
Then use these files in VM config:
	"qemu_args": "-fda {{TEMPLATE}}/fd"
2019-12-03 18:48:14 +01:00
..
adb all: fix warnings pointed to by golangci-lint 2019-03-28 15:30:18 +01:00
bhyve vm: Get debug information when FreeBSD on panics (#1470) 2019-10-21 14:25:55 +02:00
gce vm: Get debug information when FreeBSD on panics (#1470) 2019-10-21 14:25:55 +02:00
gvisor vm/gvisor: run runsc with the alsologtostderr option 2019-07-23 08:47:25 +02:00
isolated vm/qemu: detect boot errors faster 2019-03-17 18:06:44 +01:00
kvm vm: allow Diagnose to directly return diagnosis 2018-12-21 18:08:49 +01:00
odroid vm/vmimpl: factor out common code for ssh args and waiting for ssh 2018-07-06 14:02:06 +02:00
qemu vm: add workdir_template functionality 2019-12-03 18:48:14 +01:00
vmimpl vm: Get debug information when FreeBSD on panics (#1470) 2019-10-21 14:25:55 +02:00
vmm vm/qemu: detect boot errors faster 2019-03-17 18:06:44 +01:00
vm_test.go vm: fix spurious crash detection caused by trimmed lines 2019-06-24 10:14:58 +02:00
vm.go vm: add workdir_template functionality 2019-12-03 18:48:14 +01:00