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>
}
static int
-qemuAgentGetFSInfoInternalDisk(virJSONValuePtr jsondisks,
- qemuAgentFSInfoPtr fsinfo,
- virDomainDefPtr vmdef)
+qemuAgentGetFSInfoFillDisks(virJSONValuePtr jsondisks,
+ qemuAgentFSInfoPtr fsinfo,
+ virDomainDefPtr vmdef)
{
size_t ndisks;
size_t i;
goto cleanup;
}
- if (qemuAgentGetFSInfoInternalDisk(disk, info_ret[i], vmdef) < 0)
+ if (qemuAgentGetFSInfoFillDisks(disk, info_ret[i], vmdef) < 0)
goto cleanup;
}