From 8eeeb7651fbe7770b0c86eb7fb0be1ce37e2da41 Mon Sep 17 00:00:00 2001 From: John Ferlan Date: Mon, 3 Apr 2017 12:53:32 -0400 Subject: [PATCH] qemu: Initialize 'data' argument Initialize stack variable to {0} Signed-off-by: John Ferlan (cherry picked from commit 83c58ea39622d732097d377cae9e87650f5df960) --- src/qemu/qemu_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index 3cc4f4d669..6b91750acf 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -10271,7 +10271,7 @@ qemuDomainGetSchedulerParametersFlags(virDomainPtr dom, { virQEMUDriverPtr driver = dom->conn->privateData; virDomainObjPtr vm = NULL; - virDomainCputune data; + virDomainCputune data = {0}; int ret = -1; bool cpu_bw_status = true; virDomainDefPtr persistentDef;