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

Daniel P. Berrange berrange at redhat.com
Tue Nov 26 16:55:39 UTC 2013


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(-)

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
-- 
1.8.3.1




More information about the libvir-list mailing list