MCPcopy Create free account
hub / github.com/apache/cloudstack / isKVMEnabled

Method isKVMEnabled

python/lib/cloudutils/utilities.py:199–203  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

197 return self.startService(servicename,force=forcestart)
198
199 def isKVMEnabled(self):
200 if os.path.exists("/dev/kvm"):
201 return True
202 else:
203 return False
204
205class serviceOpsUbuntu(serviceOps):
206 def isServiceRunning(self, servicename):

Callers 1

checkMethod · 0.45

Calls 1

existsMethod · 0.65

Tested by

no test coverage detected