diff options
Diffstat (limited to 'src/readahead-collect.c')
-rw-r--r-- | src/readahead-collect.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/readahead-collect.c b/src/readahead-collect.c index ac46c7b3ea..4ca6d74726 100644 --- a/src/readahead-collect.c +++ b/src/readahead-collect.c @@ -649,6 +649,11 @@ int main(int argc, char *argv[]) { return 0; } + if (running_in_vm()) { + log_info("Disabling readahead collector due to execution in virtual machine."); + return 0; + } + if (!(shared = shared_get())) return 1; |