

def start(self, name):
    dom = name.get_inactive_domain(name)
    if (not dom):
        raise Exception(('%s not found or already started.' % name))
    for host in self.hosts:
        if (host['name'] == dom['host']):
            dom = host['conn'].lookupByName(name)
            return dom.create()

dataset/ETHPy150Open mizzy/maglica/maglica/virt.py Virt.start/VarMisuse@14/15 `self`->`name`