diff options
author | Leandro Pereira <leandro@hardinfo.org> | 2016-09-17 14:54:27 -0300 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2016-09-17 14:54:27 -0300 |
commit | afeee07a1fb187ad5d697b10304f0c64588119a2 (patch) | |
tree | a148a729af4cf914e6e202a6683f13ac9f995b7f /modules/computer.c | |
parent | c838f56b9a0006c7001eaa891e73df1eacfa01c7 (diff) |
Also check for " hypervisor" string to determine if running on a VM
Diffstat (limited to 'modules/computer.c')
-rw-r--r-- | modules/computer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/computer.c b/modules/computer.c index 7d75354f..a739b471 100644 --- a/modules/computer.c +++ b/modules/computer.c @@ -323,6 +323,8 @@ gchar *computer_get_virtualization() { "Xen virtual console", "Virtual (Xen)" }, { "Xen reported: ", "Virtual (Xen)" }, { "xen-vbd: registered block device", "Virtual (Xen)" }, + /* Generic */ + { " hypervisor", "Virtual (hypervisor present)"} , { NULL } }; |