From 790cc189ae51a4af370f9d83141cb58cdbaca6a7 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 23 Jul 2024 14:21:59 +0200 Subject: vm: check preemption string only for gce instances Fixes #5028 --- vm/vmimpl/vmimpl.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vm/vmimpl') diff --git a/vm/vmimpl/vmimpl.go b/vm/vmimpl/vmimpl.go index ac38a6634..564c3e66e 100644 --- a/vm/vmimpl/vmimpl.go +++ b/vm/vmimpl/vmimpl.go @@ -133,6 +133,10 @@ type Type struct { // It's possible to create out-of-thin-air instances of this type. // Out-of-thin-air instances are used by syz-ci for image testing, patch testing, bisection, etc. Overcommit bool + // Instances of this type can be preempted and lost connection as the result. + // For preempted instances executor prints "SYZ-EXECUTOR: PREEMPTED" and then + // the host understands that the lost connection was expected and is not a bug. + Preemptible bool } type ctorFunc func(env *Env) (Pool, error) -- cgit mrf-deployment