Revision cd04dfd2 lib/hypervisor/hv_xen.py
b/lib/hypervisor/hv_xen.py | ||
---|---|---|
435 | 435 |
|
436 | 436 |
For Xen, this verifies that the xend process is running. |
437 | 437 |
|
438 |
@return: Problem description if something is wrong, C{None} otherwise |
|
439 |
|
|
438 | 440 |
""" |
439 | 441 |
result = utils.RunCmd([constants.XEN_CMD, "info"]) |
440 | 442 |
if result.failed: |
441 | 443 |
return "'xm info' failed: %s, %s" % (result.fail_reason, result.output) |
442 | 444 |
|
445 |
return None |
|
446 |
|
|
443 | 447 |
@staticmethod |
444 | 448 |
def _GetConfigFileDiskData(block_devices, blockdev_prefix): |
445 | 449 |
"""Get disk directive for xen config file. |
Also available in: Unified diff