[libvirt] [PATCH] python: add virConnectGetCPUModelNames to skip_impl

Osier Yang jyang at redhat.com
Wed Nov 20 13:41:17 UTC 2013


On 20/11/13 06:17, Doug Goldstein wrote:
> In commit de51dc9c9, we removed virConnectGetCPUModelNames from
> skip_impl but without this the module will always generate a symbol for
> libvirt_virConnectGetCPUModelNames which we don't always want.
>
>      CC: Giuseppe Scrivano <gscrivan at redhat.com>
> ---
> I don't really understand the generator enough to know why this was
> removed but without this change the module will always generate the
> symbol. Maybe someone more knowledgable with the code can explain?
> I've CC'd the original author as well.
> ---
>   python/generator.py | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/python/generator.py b/python/generator.py
> index 87ecf5a..99bf965 100755
> --- a/python/generator.py
> +++ b/python/generator.py
> @@ -450,6 +450,7 @@ skip_impl = (
>       'virNodeGetCPUMap',
>       'virDomainMigrate3',
>       'virDomainMigrateToURI3',
> +    'virConnectGetCPUModelNames',
>   )
>   
>   lxc_skip_impl = (

ACK. Since the wrapper for virConnectGetCPUModelNames is not
generated automatically, it should be added in the skip_impl array.

Regards,
Osier




More information about the libvir-list mailing list