def vm_swap(vm): # we don't support the notion of swap disks for libvirt/KVM for now if conn.getType() == 'OpenVZ': return openvz.get_swap(vm.name())
def vm_swap(vm): # we don't support the notion of swap disks for libvirt/KVM for now if conn.getType() == "OpenVZ": return openvz.get_swap(vm.name())