mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 06:50:22 +03:00
qemuDomainGetGuestInfo: Remove temporary infrastructure
Now that the refactor was completed the helper infrastructure can be removed. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
9f4c6ebc39
commit
40b83176af
@ -19372,7 +19372,6 @@ qemuDomainGetGuestInfo(virDomainPtr dom,
|
||||
bool format_load = false;
|
||||
size_t i;
|
||||
g_autoptr(virTypedParamList) list = virTypedParamListNew();
|
||||
g_autoptr(virTypedParamList) tmplist = NULL;
|
||||
|
||||
virCheckFlags(0, -1);
|
||||
|
||||
@ -19481,11 +19480,6 @@ qemuDomainGetGuestInfo(virDomainPtr dom,
|
||||
virTypedParamListAddDouble(list, load15m, "load.15m");
|
||||
}
|
||||
|
||||
/* temporarily allow the old and new construction style to coexist */
|
||||
tmplist = virTypedParamListFromParams(params, *nparams);
|
||||
virTypedParamListConcat(tmplist, &list);
|
||||
list = g_steal_pointer(&tmplist);
|
||||
|
||||
if (virTypedParamListSteal(list, params, nparams) < 0)
|
||||
goto cleanup;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user