Re: [libvirt] [PATCH] fix EventImpl-related error paths in remote driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 20, 2008 at 04:55:44PM -0500, David Lively wrote:
> This patch makes the remote driver behave properly in the face of:
>   (a) no registered EventImpl, or
>   (b) an EventImpl that returns failure from AddHandle/Timeout
> 
> In both cases, we now cleanup properly (rather than always passing bogus
> values to virEventRemoveHandle/Timeout) and fail attempts to register
> for domain events??? (w/VIR_ERR_NO_SUPPORT rather than blissfully continue
> when we can't possibly deliver events).

All makes sense - you also fixed a RemoveHandle call to take priv->watch
instead of priv->sock which I had missed in my changes. I've committed
this patch

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]