[Libvir] URI documentation and xen:/// patch (was: Re: RFC: replace "no support for hypervisor" error)
Richard W.M. Jones
rjones at redhat.com
Tue Jun 19 16:15:40 UTC 2007
Daniel Veillard wrote:
> On Tue, Jun 19, 2007 at 02:16:23PM +0100, Richard W.M. Jones wrote:
>> (1) Document the URI formats fully.
>
> definitely
>
>> -- This is a feature which has been requested a few times and I will
>> do it anyway if Daniel Veillard will do the magic to set up a
>> "http://libvirt.org/uri.html" page.
>
> Okay I will do that within an hour :-)
The documentation for this should appear here shortly:
http://libvirt.org/uri.html
(If you only see the holding page, then please come back in up to half
an hour).
The attached one-liner adds a xen:/// URI, intended as the normal method
to connect to the Xen hypervisor on the local machine. This is just a
placeholder until I can get around to rewriting the Xen name parsing
code in xen_unified.c. This patch makes local (xen:///) and remote
(xen://hostname/) Xen URI-style calls possible and hopefully doesn't
prevent logical extensions to the Xen URI syntax from being added in future.
Also, I couldn't get file path URIs to work as they seem to be intended,
but I haven't looked very closely yet:
$ virsh -c ///var/lib/xend/xend-socket list
libvir: error : no support for hypervisor
virsh: error: failed to connect to the hypervisor
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-xen-uri-20070619.patch
Type: text/x-patch
Size: 966 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070619/194798ca/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/20070619/194798ca/attachment-0003.bin>
More information about the libvir-list
mailing list