[Libvir] [PATCH] Check availability of driver calls

Richard W.M. Jones rjones at redhat.com
Mon Aug 20 14:13:34 UTC 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-driver-feature-20070820.patch
Type: text/x-patch
Size: 8316 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070820/05778586/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070820/05778586/attachment-0003.bin>


More information about the libvir-list mailing list