[Libvir] [PATCH] Allow network drivers to decline to take a connection

Richard W.M. Jones rjones at redhat.com
Tue May 1 16:55:16 UTC 2007


A couple of problems fixed in the attached patch.

Firstly the path used to connect to the network driver in non-root mode 
was wrong.  This may have affected you if you tried to use the 
test:///default driver as non-root.  I haven't tested this fully, but in 
any case the path is obviously wrong and needs to be fixed.

Secondly remote introduces its own network driver, and so we now need to 
allow network drivers to decline to take a connection (currently they 
either succeed or give an error - meaning in effect that there can only 
be one network driver).  The first part of the attached patch allows this.

Rich.

-- 
Emerging Technologies, Red Hat  http://et.redhat.com/~rjones/
64 Baker Street, London, W1U 7DF     Mobile: +44 7866 314 421

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. 3798903
Directors: Michael Cunningham (USA), Charlie Peters (USA) and David
Owens (Ireland)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-network-open-failure-20070501.patch
Type: text/x-patch
Size: 1816 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070501/b0632d27/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/20070501/b0632d27/attachment-0003.bin>


More information about the libvir-list mailing list