goto cleanup;
}
- if (!priv->ownerPid) {
+ if (!priv->ownerId) {
virReportError(VIR_ERR_OPERATION_INVALID, "%s",
_("lock owner details have not been registered"));
goto cleanup;
goto cleanup;
}
- if (!priv->ownerPid) {
+ if (!priv->ownerId) {
virReportError(VIR_ERR_OPERATION_INVALID, "%s",
_("lock owner details have not been registered"));
goto cleanup;
goto cleanup;
}
- if (!priv->ownerPid) {
+ if (!priv->ownerId) {
virReportError(VIR_ERR_OPERATION_INVALID, "%s",
_("lock owner details have not been registered"));
goto cleanup;
goto cleanup;
}
- if (!priv->ownerPid) {
+ if (!priv->ownerId) {
virReportError(VIR_ERR_OPERATION_INVALID, "%s",
_("lock owner details have not been registered"));
goto cleanup;
goto cleanup;
}
- if (priv->ownerPid) {
+ if (!args->owner.id) {
virReportError(VIR_ERR_OPERATION_INVALID, "%s",
- _("lock owner details have already been registered"));
+ _("lock owner details have not been registered"));
goto cleanup;
}
goto cleanup;
}
- if (!priv->ownerPid) {
+ if (!priv->ownerId) {
virReportError(VIR_ERR_OPERATION_INVALID, "%s",
_("lock owner details have not been registered"));
goto cleanup;
goto cleanup;
}
- if (!priv->ownerPid) {
+ if (!priv->ownerId) {
virReportError(VIR_ERR_OPERATION_INVALID, "%s",
_("lock owner details have not been registered"));
goto cleanup;
_("Missing ID parameter for domain object"));
return -1;
}
- if (priv->pid == 0) {
- virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("Missing PID parameter for domain object"));
- return -1;
- }
+ if (priv->pid == 0)
+ VIR_DEBUG("Missing PID parameter for domain object");
if (!priv->name) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
_("Missing name parameter for domain object"));