[libvirt] [libvirt-python PATCH 1/2] Rename virDomainIOThreadsInfoFree to virDomainIOThreadInfoFree
John Ferlan
jferlan at redhat.com
Thu Mar 26 15:31:27 UTC 2015
On 03/26/2015 08:43 AM, Ján Tomko wrote:
> ---
> generator.py | 2 +-
> libvirt-override.c | 2 +-
> sanitytest.py | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/generator.py b/generator.py
> index df7a74d..05ccbc8 100755
> --- a/generator.py
> +++ b/generator.py
> @@ -594,7 +594,7 @@ skip_function = (
> 'virNetworkDHCPLeaseFree', # only useful in C, python code uses list
> 'virDomainStatsRecordListFree', # only useful in C, python uses dict
> 'virDomainFSInfoFree', # only useful in C, python code uses list
> - 'virDomainIOThreadsInfoFree', # only useful in C, python code uses list
> + 'virDomainIOThreadInfoFree', # only useful in C, python code uses list
> )
>
> lxc_skip_function = (
> diff --git a/libvirt-override.c b/libvirt-override.c
> index 1241305..9a72f87 100644
> --- a/libvirt-override.c
> +++ b/libvirt-override.c
> @@ -2075,7 +2075,7 @@ libvirt_virDomainGetIOThreadsInfo(PyObject *self ATTRIBUTE_UNUSED,
>
> cleanup:
> for (i = 0; i < niothreads; i++)
> - virDomainIOThreadsInfoFree(iothrinfo[i]);
> + virDomainIOThreadInfoFree(iothrinfo[i]);
> VIR_FREE(iothrinfo);
> Py_XDECREF(py_iothrinfo);
> return py_retval;
> diff --git a/sanitytest.py b/sanitytest.py
> index 0e6e0e5..cff9811 100644
> --- a/sanitytest.py
> +++ b/sanitytest.py
> @@ -142,7 +142,7 @@ for cname in wantfunctions:
> if name[0:19] == "virDomainFSInfoFree":
> continue
>
> - if name[0:26] == "virDomainIOThreadsInfoFree":
> + if name[0:26] == "virDomainIOThreadInfoFree":
s/26/25
John
> continue
>
> if name[0:21] == "virDomainListGetStats":
>
More information about the libvir-list
mailing list