]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
qemu: Fix style in qemuProcessStart
authorJiri Denemark <jdenemar@redhat.com>
Fri, 30 Oct 2015 17:18:10 +0000 (18:18 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 11 Nov 2015 16:02:53 +0000 (17:02 +0100)
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_process.c

index 69a0f979f57a9c1b454d16fa51074b3744678eea..4545f77ddd86ab94cdf6c0058726afb37e59bf98 100644 (file)
@@ -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);