This is a repost of a patch I sent before which adds the ability to
check for driver features. This is completely internal to libvirt and
does not add any public APIs.
The original discussion is here:
https://www.redhat.com/archives/libvir-list/2007-July/thread.html#00437
and continues here:
https://www.redhat.com/archives/libvir-list/2007-August/thread.html#00000
Daniel Veillard said:
> +typedef int
> + (*virDrvSupportsFeature) (virConnectPtr conn, virDrvFeature
feature);
I would rather use , int features) where you OR the features, allows
to know in one call if you get what you want or not.
My objection to that is here:
https://www.redhat.com/archives/libvir-list/2007-August/msg00000.html
Rich.
--
Emerging Technologies, Red Hat -
http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in
England and Wales under Company Registration No. 03798903