aboutsummaryrefslogtreecommitdiffstats
path: root/vm/gce
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-07-23 14:21:59 +0200
committerDmitry Vyukov <dvyukov@google.com>2024-07-23 13:30:23 +0000
commit790cc189ae51a4af370f9d83141cb58cdbaca6a7 (patch)
tree564db7896df67474c4af5a57a4a2daf1eaaf3f8e /vm/gce
parent53c2e8ad91fd5f64989a4e6a923926990130b5cd (diff)
vm: check preemption string only for gce instances
Fixes #5028
Diffstat (limited to 'vm/gce')
-rw-r--r--vm/gce/gce.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/vm/gce/gce.go b/vm/gce/gce.go
index e65ee836b..19fd1eecd 100644
--- a/vm/gce/gce.go
+++ b/vm/gce/gce.go
@@ -36,8 +36,9 @@ import (
func init() {
vmimpl.Register("gce", vmimpl.Type{
- Ctor: ctor,
- Overcommit: true,
+ Ctor: ctor,
+ Overcommit: true,
+ Preemptible: true,
})
}