def freemem():
    conn = __get_conn()
    mem = conn.getInfo()[1]
    # Take off just enough to sustain the hypervisor
    mem -= 256
    for vm_ in list_domains():
        dom = _get_domain(vm_)
        if dom.ID() > 0:
            mem -= dom.info()[2] / 1024
    return mem
Return an int representing the amount of memory (in MB) that has not
dataset/ETHPy150Open saltstack/salt/salt/modules/virt.py/freemem