[libvirt] [PATCH python] Don't include virDomainSnapshotRef in python API

Eric Blake eblake at redhat.com
Tue Nov 26 19:59:23 UTC 2013


On 11/26/2013 09:55 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> The reference counting API is for internal use only. Attempts
> to use it from python application code will cause havoc.
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  generator.py | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

ACK.

> 
> diff --git a/generator.py b/generator.py
> index ea5b8a1..c769ed0 100755
> --- a/generator.py
> +++ b/generator.py
> @@ -517,7 +517,8 @@ skip_function = (
>      "virNWFilterRef",
>      "virStoragePoolRef",
>      "virStorageVolRef",
> -    'virStreamRef',
> +    "virStreamRef",
> +    "virDomainSnapshotRef",
>  
>      # This functions shouldn't be called via the bindings (and even the docs
>      # contain an explicit warning to that effect). The equivalent should be
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131126/47d0d457/attachment-0001.sig>


More information about the libvir-list mailing list