提交 256fff39 编写于 作者: J Jiri Denemark

qemu: Fix style in qemuProcessStart

Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
上级 c6172260
......@@ -4279,7 +4279,7 @@ int qemuProcessStart(virConnectPtr conn,
*/
VIR_DEBUG("Preparing network devices");
if (qemuNetworkPrepareDevices(vm->def) < 0)
goto error;
goto error;
/* Must be run before security labelling */
VIR_DEBUG("Preparing host devices");
......@@ -4636,9 +4636,8 @@ int qemuProcessStart(virConnectPtr conn,
VIR_DEBUG("Setting up security labelling");
if (virSecurityManagerSetChildProcessLabel(driver->securityManager,
vm->def, cmd) < 0) {
vm->def, cmd) < 0)
goto error;
}
virCommandSetOutputFD(cmd, &logfile);
virCommandSetErrorFD(cmd, &logfile);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册