From 97fce13e1086431f9f16c976706ee30daf297d51 Mon Sep 17 00:00:00 2001
From: Xu Zheng <xuzheng_yewu@cmss.chinamobile.com>
Date: Thu, 24 Nov 2022 17:22:37 +0800
Subject: [PATCH 17/23] qemu_driver: Fix indentation in qemuDomainGetStatsVcpu

cherry-pick from d057b0bfc48e31f5c4d27830d2f91ed4f1d7180c
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Signed-off-by: Xu Zheng <xuzheng_yewu@cmss.chinamobile.com>
---
 src/qemu/qemu_driver.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 1f70178c88..854b56a563 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -21043,9 +21043,9 @@ qemuDomainGetStatsVcpu(virQEMUDriverPtr driver,
 
     if (HAVE_JOB(privflags) && virDomainObjIsActive(dom) &&
         qemuDomainRefreshVcpuHalted(driver, dom, QEMU_ASYNC_JOB_NONE) < 0) {
-            /* it's ok to be silent and go ahead, because halted vcpu info
-             * wasn't here from the beginning */
-            virResetLastError();
+        /* it's ok to be silent and go ahead, because halted vcpu info
+         * wasn't here from the beginning */
+        virResetLastError();
     }
 
     if (qemuDomainHelperGetVcpus(dom, cpuinfo, cpuwait,
-- 
2.27.0

