[Libvir] Re: xen://

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


Richard W.M. Jones wrote:
> Daniel Veillard wrote:
>> On Mon, Oct 15, 2007 at 09:26:26AM -0400, Mark Johnson wrote:
>>> On 10/15/07, Richard W.M. Jones <rjones at redhat.com> wrote:
>>>> Mark Johnson wrote:
>>>>> [root at fedora ~]# virsh connect xen+tcp://localhost
>>>>> libvir: Remote error : Connection refused
>>>>> error: Failed to connect to the hypervisor
>>>> IME this usually happens because I forget to open the right port on the
>>>> firewall (both incoming and outgoing ...)
>>> Thanks Rich.  My problem was I typed the line wrong.  It needed
>>> a trailing /
>>>
>>>  e.g.
>>>
>>>> [root at fedora ~]# virsh connect xen+tcp://localhost
>>> Should have been...
>>>   [root at fedora ~]# virsh connect xen+tcp://localhost/
>>
>>   Hum, strange, that's still a valid absolute URI except with an empty
>> path I find strange we have a problem with this, as we don't use the 
>> path for the access in practice ...
> 
> The attached patch is "a bit of a hack" (but so is the current code).

(Ignore this ...)

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/1b36ad5d/attachment-0001.bin>


More information about the libvir-list mailing list