[libvirt] [PATCH] vmware: set the driver version

Jean-Baptiste Rouault jean-baptiste.rouault at diateam.net
Tue Apr 8 16:01:32 UTC 2014


Since commit 7457cbe8 the vmware driver version isn't set anymore.
---
 src/vmware/vmware_conf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/vmware/vmware_conf.c b/src/vmware/vmware_conf.c
index 6aba4f8..5e894a4 100644
--- a/src/vmware/vmware_conf.c
+++ b/src/vmware/vmware_conf.c
@@ -301,6 +301,7 @@ vmwareExtractVersion(struct vmware_driver *driver)
     if (vmwareParseVersionStr(driver->type, outbuf, &version) < 0)
         goto cleanup;
 
+    driver->version = version;
     ret = 0;
 
  cleanup:
-- 
1.8.5.3




More information about the libvir-list mailing list