]> git.ipfire.org Git - oddments/fireinfo.git/blobdiff - fireinfo/hypervisor.py
Check if bios vendor is "innotek GmbH" to get if the system is virtualized.
[oddments/fireinfo.git] / fireinfo / hypervisor.py
index b659d6e3096ee24fc05be14410af04eadc6960ff..46b58e14e3ac940e837ba5c48ee184f025b8492f 100644 (file)
@@ -64,7 +64,8 @@ class Hypervisor(object):
                        Otherwise: false.
                """
                return _fireinfo.is_virtualized() or \
-                       "hypervisor" in self.system.cpu.flags
+                       "hypervisor" in self.system.cpu.flags or \
+                       self.system.bios_vendor == "innotek GmbH"
 
 
 if __name__ == "__main__":