[libvirt] [PATCH] api-docs: Fix description of virConnectGetType() API function

Michal Novotny minovotn at redhat.com
Wed Sep 11 12:19:19 UTC 2013


This fixes the description of virConnectGetType() API function in
API documentation to match the real functionality that it can be
used to get driver name.

Signed-off-by: Michal Novotny <minovotn at redhat.com>
---
 src/libvirt.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/libvirt.c b/src/libvirt.c
index 665b30b..a1d33b6 100644
--- a/src/libvirt.c
+++ b/src/libvirt.c
@@ -1581,7 +1581,8 @@ virConnectSupportsFeature(virConnectPtr conn, int feature)
  * virConnectGetType:
  * @conn: pointer to the hypervisor connection
  *
- * Get the name of the Hypervisor software used.
+ * Get the name of the Hypervisor driver used. This is merely the driver name so for KVM
+ * it is still returning QEMU as QEMU driver is being used for KVM virtualization as well.
  *
  * Returns NULL in case of error, a static zero terminated string otherwise.
  *
-- 
1.7.11.7




More information about the libvir-list mailing list