libvirt/src/xenapi
Eric Blake 8ce1afff88 util: choose whether to require micro in version strings
To avoid regressions, we let callers specify whether to require a
minor and micro version.  Callers that were parsing uname() output
benefit from defaulting to 0, whereas callers that were parsing
version strings from other sources should not change in behavior.

* src/util/util.c (virParseVersionString): Allow caller to choose
whether to fail if minor or micro is missing.
* src/util/util.h (virParseVersionString): Update signature.
* src/esx/esx_driver.c (esxGetVersion): Update callers.
* src/lxc/lxc_driver.c (lxcVersion): Likewise.
* src/openvz/openvz_conf.c (openvzExtractVersionInfo): Likewise.
* src/uml/uml_driver.c (umlGetVersion): Likewise.
* src/vbox/vbox_MSCOMGlue.c (vboxLookupVersionInRegistry):
Likewise.
* src/vbox/vbox_tmpl.c (vboxExtractVersion): Likewise.
* src/vmware/vmware_conf.c (vmwareExtractVersion): Likewise.
* src/xenapi/xenapi_driver.c (xenapiGetVersion): Likewise.
Reported by Matthias Bolte.
2011-07-01 11:22:11 -06:00
..
xenapi_driver_private.h Prefer C style comments over C++ ones 2011-01-29 00:59:45 +01:00
xenapi_driver.c util: choose whether to require micro in version strings 2011-07-01 11:22:11 -06:00
xenapi_driver.h xenapi: Initial commit of the new driver 2010-03-14 19:30:00 +01:00
xenapi_utils.c support for Xen HVM Viridian (Hyper-V) enlightenment interface 2011-06-15 08:02:47 -06:00
xenapi_utils.h Add actions to virDomainLifecycle enum 2010-08-20 15:06:30 -06:00