提交 8eeeb765 编写于 作者: J John Ferlan 提交者: Cole Robinson

qemu: Initialize 'data' argument

Initialize stack variable to {0}
Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
(cherry picked from commit 83c58ea3)
上级 975fb262
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册