aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor_linux.h
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-06-14 14:58:25 +0200
committerAleksandr Nogikh <wp32pw@gmail.com>2023-06-15 11:49:04 +0200
commit757d26edba7d7de8c564a87a262a0b1321ddf804 (patch)
treef78b5e053c0a61ef2771e130af410ee7ee1d40da /executor/executor_linux.h
parent90d4044eae0123561d6cf2f667a4bc3357d93e7a (diff)
all: support swap feature on Linux
If the feature is supported on the device, allocate a 128MB swap file after VM boot and activate it.
Diffstat (limited to 'executor/executor_linux.h')
-rw-r--r--executor/executor_linux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/executor/executor_linux.h b/executor/executor_linux.h
index 630ceb81f..8e3c35044 100644
--- a/executor/executor_linux.h
+++ b/executor/executor_linux.h
@@ -250,4 +250,5 @@ static feature_t features[] = {
{"kcsan", setup_kcsan},
{"usb", setup_usb},
{"802154", setup_802154},
+ {"swap", setup_swap},
};