summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-02-13 15:46:05 +0100
committerLennart Poettering <lennart@poettering.net>2011-02-13 15:46:05 +0100
commit46a08e381589c50394d71e428c09857dfeaa3761 (patch)
treec807c925718d0e164de9d22c6af09f1c5039fb1c /src/util.h
parenta49728dc8c64fe5a2a0e3327274a01adcf18c330 (diff)
readahead: disable readahead in virtual machines
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index c8cae703a2..3f0f48f32d 100644
--- a/src/util.h
+++ b/src/util.h
@@ -372,6 +372,8 @@ void filter_environ(const char *prefix);
const char *default_term_for_tty(const char *tty);
+bool running_in_vm(void);
+
#define NULSTR_FOREACH(i, l) \
for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1)