mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
qemu: rename qemuAgentGetFSInfoInternalDisk()
The function name doesn't give a good idea of what the function does. Rename to qemuAgentGetFSInfoFillDisks() to make it more obvious than it is filling in the disk information in the fsinfo struct. Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
0169f5ecde
commit
e888c0f667
@ -1929,9 +1929,9 @@ qemuAgentFSInfoToPublic(qemuAgentFSInfoPtr agent)
|
||||
}
|
||||
|
||||
static int
|
||||
qemuAgentGetFSInfoInternalDisk(virJSONValuePtr jsondisks,
|
||||
qemuAgentFSInfoPtr fsinfo,
|
||||
virDomainDefPtr vmdef)
|
||||
qemuAgentGetFSInfoFillDisks(virJSONValuePtr jsondisks,
|
||||
qemuAgentFSInfoPtr fsinfo,
|
||||
virDomainDefPtr vmdef)
|
||||
{
|
||||
size_t ndisks;
|
||||
size_t i;
|
||||
@ -2143,7 +2143,7 @@ qemuAgentGetFSInfoInternal(qemuAgentPtr mon,
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
if (qemuAgentGetFSInfoInternalDisk(disk, info_ret[i], vmdef) < 0)
|
||||
if (qemuAgentGetFSInfoFillDisks(disk, info_ret[i], vmdef) < 0)
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user