[Libvir] remote access ?

Richard W.M. Jones rjones at redhat.com
Mon Oct 15 15:37:22 UTC 2007


Daniel P. Berrange wrote:
> It is a bug in xend_internal.c
> 
>     if (strcasecmp (name, "xen") == 0 ||
>         strncasecmp (name, "xen:///", 7) == 0) {
> 
> 
> This needs to die & be replaced with code calling the libxml URI parsing.
> I fixed a similar bug in the QEMU driver a few weeks back.

Sorry yes, Dan is right, so ignore the hack/patch I just posted.

In fact xen_unified.c already parses the URI once, so we just need to 
change the xen_unified <-> xen low level drivers API to pass the parsed 
URI instead of the name string.

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: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20071015/d6346b15/attachment-0001.bin>


More information about the libvir-list mailing list