mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-04-01 20:05:19 +00:00
qemu: Initialize 'data' argument
Initialize stack variable to {0} Signed-off-by: John Ferlan <jferlan@redhat.com> (cherry picked from commit 83c58ea39622d732097d377cae9e87650f5df960)
This commit is contained in:
parent
975fb26272
commit
8eeeb7651f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user