[Libvir] [PATCH] #3: Fix xm_internal / remote interaction
Richard W.M. Jones
rjones at redhat.com
Wed Jul 4 08:16:53 UTC 2007
Daniel P. Berrange wrote:
> On Tue, Jul 03, 2007 at 04:14:30PM +0100, Richard W.M. Jones wrote:
>> I'm not quite sure what the problem is (although the problem is in
>> xm_internal), but when you use xm_internal over remote, it sometimes
>> doesn't initialize its internal cache correctly, so it thinks that
>> there are no inactive domains.
>>
>> The fix is a one-liner which I hit upon by accident -- I don't really
>> understand why it works:
>
> Very peculiar - the nconnections stuff is incremented / decremented
> by the xenXMOpen & xenXMClose methods. So the change you show below
> should be identical to previous behaviour. Is something calling the
> xenXMClose method too many times maybe ? I guess some judicious use
> of syslog would show it up
But I can assure you that the patch is necessary, even if I don't
understand how it works ...
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/20070704/04ed83ac/attachment-0001.bin>
More information about the libvir-list
mailing list