docs: Update libvirt docs.

Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/dc8dfdfc
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/dc8dfdfc
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/dc8dfdfc

Branch: refs/heads/trunk
Commit: dc8dfdfc39413c4254b4f6cb8d41b9f6e7710bd1
Parents: aec5d33
Author: Tomaz Muraus <[email protected]>
Authored: Mon Jan 13 19:10:26 2014 +0100
Committer: Tomaz Muraus <[email protected]>
Committed: Mon Jan 13 19:10:26 2014 +0100

----------------------------------------------------------------------
 docs/compute/drivers/libvirt.rst | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/dc8dfdfc/docs/compute/drivers/libvirt.rst
----------------------------------------------------------------------
diff --git a/docs/compute/drivers/libvirt.rst b/docs/compute/drivers/libvirt.rst
index cd200ba..7c7714a 100644
--- a/docs/compute/drivers/libvirt.rst
+++ b/docs/compute/drivers/libvirt.rst
@@ -79,3 +79,25 @@ see `VirtualBox hypervisor driver 
<http://libvirt.org/drvvbox.html>`_ page.
 
 .. _`libvirt`: http://libvirt.org
 .. _`libvirt-python`: https://pypi.python.org/pypi/libvirt-python
+
+Enabling libvirt debug mode
+---------------------------
+
+To enable libvirt debug mode, simply set ``LIBVIRT_DEBUG`` environment
+variable.
+
+For example:
+
+.. sourcecode:: bash
+
+    LIBVIRT_DEBUG=1 python my_script.py
+
+When debug mode is enabled, libvirt client will print all kind of debugging
+information to the standard error.
+
+API Docs
+--------
+
+.. autoclass:: libcloud.compute.drivers.libvirt_driver.LibvirtNodeDriver
+    :members:
+    :inherited-members:

Reply via email to