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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/readahead-replay.c b/src/readahead-replay.c
index 9447fe0775..cd89654f98 100644
--- a/src/readahead-replay.c
+++ b/src/readahead-replay.c
@@ -346,8 +346,8 @@ int main(int argc, char*argv[]) {
return 0;
}
- if (running_in_vm()) {
- log_info("Disabling readahead replay due to execution in virtual machine.");
+ if (detect_virtualization(NULL) > 0) {
+ log_info("Disabling readahead replay due to execution in virtualized environment.");
return 0;
}