aboutsummaryrefslogtreecommitdiffstats
path: root/vm/gce
Commit message (Collapse)AuthorAgeFilesLines
* vm: properly detect when a program exitsDmitry Vyukov2017-02-021-5/+16
| | | | | | | | syz-fuzzer never exits (normally) so this does not affect syz-manager. But during reproduction we can run a short running program (no repeat mode) and currently VMs treat premature exit as an error. Properly detect when a program exits and let callers decide what to do with it.
* vm/adb: support BeagleBone consoleDmitry Vyukov2016-12-191-23/+7
| | | | | BeagleBone console requires some special tty-ism to work. Fortunately, this code also works with Suzy-Q.
* vm/gce: handle graceful preemptionDmitry Vyukov2016-12-161-1/+1
| | | | | In case of graceful preemption fuzzer should be terminated by SIGTERM. Catch it and propagate to manager.
* vm/gce: use preemptible instancesDmitry Vyukov2016-12-021-0/+6
| | | | | Preemptible instances are cheaper, try to use them. Also try to enable vmx support.
* vm: add ability to interrupt commandsDmitry Vyukov2016-11-191-1/+5
| | | | This is required for crash reproduction in manager.
* vm/gce: don't require ssh key for GCE-compatible imagesDmitry Vyukov2016-11-171-18/+32
| | | | | If an image supports all GCE fanciness, we don't need a separate ssh key for it. It should accept the instance private key that we specify during VM creation.
* vm/gce: actually append name to instance namesDmitry Vyukov2016-11-161-8/+7
|
* syz-gce,syz-manager: add name config parameterDmitry Vyukov2016-11-161-1/+1
| | | | | | Name is used for identification on web ui and included in gce instance names (so that several managers can coexist in a single project).
* vm/gce: don't wait for instance deletion on exitDmitry Vyukov2016-10-101-3/+3
| | | | | | | VM.Close is called when syz-manager terminates on SIGINT. Waiting for instance deletion in this case is unnecessary, creation of a new instance will handle deleting instance. So exit faster.
* log: add packageDmitry Vyukov2016-10-091-6/+6
| | | | | | | | | | | Log is a simple wrapper around std log package. It is meant to solve 2 main problems: 1. Logging from non-main packages (mainly, vm/* packages). Currently they can either always log or not log at all. But they can't respect program verbosity setting. Log package allows all packages to use the same verbosity setting. 2. Exposing recent logs in html UI. Namely we want to tee logs to console and html UI.
* vm/gce: fix bug introduced during refactoringDmitry Vyukov2016-10-071-1/+2
|
* syz-gce: add autonomous GCE runnerDmitry Vyukov2016-10-071-204/+13
| | | | | | It is meant to download new kernel images from GCS, update and rebuild syzkaller and restart syz-manager. Work in progress...
* vm/gce: add support GCE VMsDmitry Vyukov2016-10-061-0/+441