[libvirt-users] How to get supported feature list in driver
Daniel Veillard
veillard at redhat.com
Mon Jun 21 07:29:29 UTC 2010
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.
There is the manually maintained page for driver support at
http://libvirt.org/hvsupport.html
but being manual means it's often outdated :-\
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.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel at veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
More information about the libvirt-users
mailing list