[Libvir] [PATCH] hypervisor version

Daniel Veillard veillard at redhat.com
Mon Jun 18 12:02:32 UTC 2007

On Mon, Jun 18, 2007 at 06:36:22PM +0900, Atsushi SAKAI wrote:
> Hi, Daniel
>  I would prefer keep extra in code.
> (extra region stores additional info)
> for example (in extra)
> xen-unstable : -unstable
> fedora7      :.4-1-1.2898.2.3

  Not possible as the API allows only for an unsigned long

int                     virConnectGetVersion    (virConnectPtr conn,
                                                 unsigned long *hvVer);

What you want would require adding a new API, this can't be retroffied in the
current one. The patch fix the current one. I'm not sure it's worth adding
a new API to get more details at this point.


Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard at redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

More information about the libvir-list mailing list