Re: How to get supported feature list in driver

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

 



On Mon, Jun 21, 2010 at 4:29 PM, Daniel Veillard <veillard@xxxxxxxxxx> wrote:
> On Sat, Jun 19, 2010 at 08:15:44PM +0900, Ryota Ozaki wrote:
>> Hello
>>
>> Is there an easy way to get supported feature (API) list in each driver?
>> The function would be to return a list which describes which APIs are
>> supported and which APIs are not.
>
>  No, and it's somehow painful. If unsupported you will get a specific
> error code back though, so maybe that can be automated in some ways.

Indeed. I agree it is an easy way (not smart though).

> There is the manually maintained page for driver support at
>  http://libvirt.org/hvsupport.html
> but being manual means it's often outdated :-\

There is not even entry for lxc!

> Also there is some subtleties, for example on Xen the main driver is
> actually implemenbted as a set of 3 sub-drivers for hv/xend/xenstore
> so just checking for NULL values in the driver entry point is not
> completely sufficient to assert support of a feature.

Oh, I didn't know that. I though I could use the entry point.

OK, trial and error seems a easy and solid way.
Thanks for your explanation.

  ozaki-r

>
> Daniel
>
> --
> Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
> daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
> http://veillard.com/ | virtualization library  http://libvirt.org/
>


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux