mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-08 22:15:21 +00:00
qemu: Initialize 'data' argument
Initialize stack variable to {0}
Signed-off-by: John Ferlan <jferlan@redhat.com>
(cherry picked from commit 83c58ea396
)
This commit is contained in:
parent
975fb26272
commit
8eeeb7651f
@ -10271,7 +10271,7 @@ qemuDomainGetSchedulerParametersFlags(virDomainPtr dom,
|
|||||||
{
|
{
|
||||||
virQEMUDriverPtr driver = dom->conn->privateData;
|
virQEMUDriverPtr driver = dom->conn->privateData;
|
||||||
virDomainObjPtr vm = NULL;
|
virDomainObjPtr vm = NULL;
|
||||||
virDomainCputune data;
|
virDomainCputune data = {0};
|
||||||
int ret = -1;
|
int ret = -1;
|
||||||
bool cpu_bw_status = true;
|
bool cpu_bw_status = true;
|
||||||
virDomainDefPtr persistentDef;
|
virDomainDefPtr persistentDef;
|
||||||
|
Loading…
Reference in New Issue
Block a user