From: Michael Tremer Date: Fri, 31 Dec 2010 15:26:14 +0000 (+0100) Subject: Disable hypervisor port check for VMWare. X-Git-Tag: v2.0.1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a59811e24d1dc23fde4f5b0793e2fb3a28987a8c;p=oddments%2Ffireinfo.git Disable hypervisor port check for VMWare. The system vendor name is significant and the hypervisor port check fails. We need to fix this at a later time. --- diff --git a/fireinfo/hypervisor.py b/fireinfo/hypervisor.py index a36b39f..eb28308 100644 --- a/fireinfo/hypervisor.py +++ b/fireinfo/hypervisor.py @@ -112,8 +112,10 @@ class Hypervisor(object): http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1009458 """ if self.system.vendor: - return self.system.vendor.startswith("VMware") and \ - _fireinfo.vmware_hypervisor_port_check() + return self.system.vendor.startswith("VMware") + + # XXX We should use _fireinfo.vmware_hypervisor_port_check() here, too. + # This currently segfaults (and I have no clue why) on VMware player. def __is_hypervisor_qemu(self): """