summaryrefslogtreecommitdiff
path: root/src/readahead-replay.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-02-21 21:48:59 +0100
committerLennart Poettering <lennart@poettering.net>2011-02-21 21:48:59 +0100
commit07faed4f99d0c798f92de3032b9c20ca31388494 (patch)
tree01ce628c10a9e7c1c691f0424b633905ccfeb134 /src/readahead-replay.c
parentb284eabdc14683e4587baf43e83cedc6698a42df (diff)
virtualization: beef virtualization code
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;
}