Revision 3f2eba25
b/lib/hypervisor/hv_kvm.py | ||
---|---|---|
836 | 836 |
match = cls._VERSION_RE.search(result.output.splitlines()[0]) |
837 | 837 |
if not match: |
838 | 838 |
return None |
839 |
return (match.group(0), match.group(1), match.group(2), match.group(3)) |
|
839 |
|
|
840 |
return (match.group(0), int(match.group(1)), int(match.group(2)), |
|
841 |
int(match.group(3))) |
|
840 | 842 |
|
841 | 843 |
def StopInstance(self, instance, force=False, retry=False, name=None): |
842 | 844 |
"""Stop an instance. |
Also available in: Unified diff