- if (vmtype == VMTYPE_LXC) {
- if (node_te->type != DT_DIR)
- continue;
-
- guint32 vmid = 0;
- if (!name_is_vm_config_dir(node_te->name, &vmid))
- continue;
-
- if (!vmlist_hash_insert_vm(vmlist, vmtype, vmid, nodename, FALSE))
- ret = FALSE;
-
- } else {
- if (node_te->type != DT_REG)
- continue;