]> git.ipfire.org Git - oddments/fireinfo.git/commitdiff
Disable hypervisor port check for VMWare.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 31 Dec 2010 15:26:14 +0000 (16:26 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 31 Dec 2010 15:26:14 +0000 (16:26 +0100)
The system vendor name is significant and the hypervisor port
check fails. We need to fix this at a later time.

fireinfo/hypervisor.py

index a36b39f0b40ab5a27f6c8dee0bb7ebb292c9bdc4..eb28308f833d529ec4307beae323ddfcc4ea9ae4 100644 (file)
@@ -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):
                """