[libvirt] [RFC] making (newly public) EventImpl interface moreconsistent

Daniel P. Berrange berrange at redhat.com
Fri Nov 14 16:02:19 UTC 2008


On Fri, Nov 14, 2008 at 10:46:22AM -0500, David Lively wrote:
> On Fri, 2008-11-14 at 14:11 +0000, Daniel P. Berrange wrote:
> > On Fri, Nov 14, 2008 at 07:36:27AM -0500, Ben Guthro wrote:
> > > I'll answer for Dave, while I'm looking at this.
> > > 
> > > As far as I know, Dave is of the opinion that we are just "getting lucky" 
> > > using the APIs as we are, and remains convinced that his suggested change 
> > > is necessary here.
> > > 
> > > He (and I) remain worried that release of the EventImpl API without this 
> > > API change could get us into trouble in the future, as we would have to 
> > > support the released API that has different semantics than DBus, which 
> > > we were supposed to be modeled closely to.
> 
> Yep.
> 
> > Basically, there is no downside to implementing your suggestion of allowing
> > the same FD to be registered, and a clear potential downside to our current
> > impl. So I'll re-write the Add/RemoveHandle API as you suggested to eliminate
> > the risk
> 
> Thank you!  If you'd rather, I'd be happy to make those changes (today)
> and submit a patch.  (But I haven't implemented them yet, other than
> changing the decls and documentation.)

Don't worry, I've already got it in progress myself....

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 :|




More information about the libvir-list mailing list