VIR_HOOK_SUBOP_BEGIN) < 0)
goto stop;
+ if (qemuDomainSetPrivatePaths(&priv->libDir,
+ &priv->channelTargetDir,
+ cfg->libDir,
+ cfg->channelTargetDir,
+ vm->def->name,
+ vm->def->id) < 0)
+ goto cleanup;
+
ret = 0;
cleanup:
goto cleanup;
logfile = qemuDomainLogContextGetWriteFD(logCtxt);
- if (qemuDomainSetPrivatePaths(&priv->libDir,
- &priv->channelTargetDir,
- cfg->libDir,
- cfg->channelTargetDir,
- vm->def->name,
- vm->def->id) < 0)
- goto cleanup;
-
VIR_DEBUG("Building emulator command line");
if (!(cmd = qemuBuildCommandLine(conn, driver,
qemuDomainLogContextGetManager(logCtxt),