goto cleanup;
}
+ if (lxcContainerChown(vmDef, dstfile) < 0)
+ goto cleanup;
+
if (virSecurityManagerSetHostdevLabel(securityDriver,
vmDef, def, vroot) < 0)
goto cleanup;
goto cleanup;
}
+ if (lxcContainerChown(vmDef, dst) < 0)
+ goto cleanup;
+
def->source.caps.u.storage.block = dst;
if (virSecurityManagerSetHostdevLabel(securityDriver, vmDef, def, NULL) < 0)
goto cleanup;
goto cleanup;
}
+ if (lxcContainerChown(vmDef, dst) < 0)
+ goto cleanup;
+
def->source.caps.u.misc.chardev = dst;
if (virSecurityManagerSetHostdevLabel(securityDriver, vmDef, def, NULL) < 0)
goto cleanup;