[Libvir] Patch: driver->open functions return declined or error status
Richard W.M. Jones
rjones at redhat.com
Wed Feb 28 16:18:45 UTC 2007
I want to change the driver->open function so that as well as declining
a name (returning -1 as now), it may also indicate that it accepts the
name, but there is an error opening the name (-2). virConnectOpen fails
in this second case, rather than going on and trying the next driver in
sequence.
Rich.
--
Emerging Technologies, Red Hat http://et.redhat.com/~rjones/
64 Baker Street, London, W1U 7DF Mobile: +44 7866 314 421
"[Negative numbers] darken the very whole doctrines of the equations
and make dark of the things which are in their nature excessively
obvious and simple" (Francis Maseres FRS, mathematician, 1759)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-driver-open.patch
Type: text/x-patch
Size: 3041 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070228/e0281e26/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/20070228/e0281e26/attachment-0003.bin>
More information about the libvir-list
mailing list