diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-02-21 21:48:59 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-02-21 21:48:59 +0100 |
commit | 07faed4f99d0c798f92de3032b9c20ca31388494 (patch) | |
tree | 01ce628c10a9e7c1c691f0424b633905ccfeb134 /src/util.h | |
parent | b284eabdc14683e4587baf43e83cedc6698a42df (diff) |
virtualization: beef virtualization code
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h index 80f1a38b57..7f2cc080a7 100644 --- a/src/util.h +++ b/src/util.h @@ -378,7 +378,8 @@ void filter_environ(const char *prefix); bool tty_is_vc(const char *tty); const char *default_term_for_tty(const char *tty); -bool running_in_vm(void); +int detect_vm(const char **id); +int detect_virtualization(const char **id); void execute_directory(const char *directory, DIR *_d, char *argv[]); |