[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libvir] [PATCH] hypervisor version



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.

Daniel

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]