From 5060bde8e796acad14ae158b42fb7ae1263f0ba2 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 12 Dec 2010 21:17:06 +0100 Subject: [PATCH] Check if bios vendor is "innotek GmbH" to get if the system is virtualized. --- fireinfo/hypervisor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fireinfo/hypervisor.py b/fireinfo/hypervisor.py index b659d6e..46b58e1 100644 --- a/fireinfo/hypervisor.py +++ b/fireinfo/hypervisor.py @@ -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__": -- 2.39.2