[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[virt-tools-list] [PATCH 6/6] Added a get_capabilities() API to libvirtworker.



---
 src/virtManagerTui/libvirtworker.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/virtManagerTui/libvirtworker.py b/src/virtManagerTui/libvirtworker.py
index 59b85e5..185e673 100644
--- a/src/virtManagerTui/libvirtworker.py
+++ b/src/virtManagerTui/libvirtworker.py
@@ -116,6 +116,10 @@ class LibvirtWorker:
             self.__vmmconn = old_vmmconn
             raise error
 
+    def get_capabilities(self):
+        '''Returns the capabilities for this libvirt host.'''
+        return self.__capabilities
+
     def list_domains(self, defined = True, started = True):
         '''Lists all domains.'''
         # XXX: This doesn't abide the passed parameters
-- 
1.7.4.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]