aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/mgrconfig/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/mgrconfig/config.go')
-rw-r--r--pkg/mgrconfig/config.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/mgrconfig/config.go b/pkg/mgrconfig/config.go
index 0909cd605..b4368f6d5 100644
--- a/pkg/mgrconfig/config.go
+++ b/pkg/mgrconfig/config.go
@@ -137,6 +137,11 @@ type Config struct {
// on this value.
SandboxArg int64 `json:"sandbox_arg"`
+ // Enables snapshotting mode. In this mode VM is snapshotted and restarted from the snapshot
+ // before executing each test program. This provides better reproducibility and avoids global
+ // accumulated state. Currently only qemu VMs and Linux support this mode.
+ Snapshot bool `json:"snapshot"`
+
// Use KCOV coverage (default: true).
Cover bool `json:"cover"`
// Use coverage filter. Supported types of filter: