[libvirt] [PATCH 1/3] qemu: correct the ret value

Luyao Huang lhuang at redhat.com
Wed Jun 20 09:05:02 UTC 2018


Set the return value to 0 when everything work as expected

Signed-off-by: Luyao Huang <lhuang at redhat.com>
---
 src/qemu/qemu_process.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index 93fd6ba..631254d 100644
--- a/src/qemu/qemu_process.c
+++ b/src/qemu/qemu_process.c
@@ -5842,6 +5842,7 @@ qemuProcessSEVCreateFile(const char *configDir,
         goto cleanup;
     }
 
+    ret = 0;
  cleanup:
     VIR_FREE(configFile);
     return ret;
-- 
1.8.3.1




More information about the libvir-list mailing list