Revision 5c3d5dfd lib/hypervisor/hv_kvm.py

b/lib/hypervisor/hv_kvm.py
1547 1547
    @type text: string
1548 1548
    @param text: output of kvm --help
1549 1549
    @return: (version, v_maj, v_min, v_rev)
1550
    @raise L{errors.HypervisorError}: when the KVM version cannot be retrieved
1550
    @raise errors.HypervisorError: when the KVM version cannot be retrieved
1551 1551

  
1552 1552
    """
1553 1553
    match = cls._VERSION_RE.search(text.splitlines()[0])
......
1568 1568
    """Return the installed KVM version.
1569 1569

  
1570 1570
    @return: (version, v_maj, v_min, v_rev)
1571
    @raise L{errors.HypervisorError}: when the KVM version cannot be retrieved
1571
    @raise errors.HypervisorError: when the KVM version cannot be retrieved
1572 1572

  
1573 1573
    """
1574 1574
    result = utils.RunCmd([constants.KVM_PATH, "--help"])

Also available in: Unified diff