1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-23 21:34:54 +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:
Jonathon Jongsma 2020-01-10 17:32:10 -06:00 committed by Michal Privoznik
parent 0169f5ecde
commit e888c0f667

View File

@ -1929,9 +1929,9 @@ qemuAgentFSInfoToPublic(qemuAgentFSInfoPtr agent)
} }
static int static int
qemuAgentGetFSInfoInternalDisk(virJSONValuePtr jsondisks, qemuAgentGetFSInfoFillDisks(virJSONValuePtr jsondisks,
qemuAgentFSInfoPtr fsinfo, qemuAgentFSInfoPtr fsinfo,
virDomainDefPtr vmdef) virDomainDefPtr vmdef)
{ {
size_t ndisks; size_t ndisks;
size_t i; size_t i;
@ -2143,7 +2143,7 @@ qemuAgentGetFSInfoInternal(qemuAgentPtr mon,
goto cleanup; goto cleanup;
} }
if (qemuAgentGetFSInfoInternalDisk(disk, info_ret[i], vmdef) < 0) if (qemuAgentGetFSInfoFillDisks(disk, info_ret[i], vmdef) < 0)
goto cleanup; goto cleanup;
} }