summaryrefslogtreecommitdiff
path: root/src/readahead-replay.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/readahead-replay.c')
-rw-r--r--src/readahead-replay.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/readahead-replay.c b/src/readahead-replay.c
index 87f2e598b4..e9c573a593 100644
--- a/src/readahead-replay.c
+++ b/src/readahead-replay.c
@@ -346,6 +346,11 @@ int main(int argc, char*argv[]) {
return 0;
}
+ if (running_in_vm()) {
+ log_info("Disabling readahead replay due to execution in virtual machine.");
+ return 0;
+ }
+
if (!(shared = shared_get()))
return 1;