Re: [libvirt] Re: [PATCH 04/12] Domain Events - rpc changes

2008-10-23 Thread Daniel P. Berrange
On Tue, Oct 21, 2008 at 03:14:49PM -0400, Ben Guthro wrote: > [PATCH 04/12] Domain Events - rpc changes > Changes to the RPC protocol > > remote_dispatch_localvars.h |3 +++ > remote_dispatch_proc_switch.h | 18 ++ > remote_dispatch_prototypes.h |3 +++ > remote_proto

Re: [libvirt] Re: [PATCH 04/12] Domain Events - rpc changes

2008-10-21 Thread Daniel P. Berrange
On Tue, Oct 21, 2008 at 08:57:51AM -0400, Ben Guthro wrote: > This is very similar to what I had in the original patch, > where on the server side, we just increment/decrement a callback_registered > counter, > then keep the list of callbacks/opaque data on the client. > > The server would then s

Re: [libvirt] Re: [PATCH 04/12] Domain Events - rpc changes

2008-10-21 Thread Ben Guthro
This is very similar to what I had in the original patch, where on the server side, we just increment/decrement a callback_registered counter, then keep the list of callbacks/opaque data on the client. The server would then send one rpc to each connected client, whose job it would be to multiple

Re: [libvirt] Re: [PATCH 04/12] Domain Events - rpc changes

2008-10-20 Thread David Lively
On Sun, 2008-10-19 at 20:22 +0100, Daniel P. Berrange wrote: > On Fri, Oct 17, 2008 at 11:58:15AM -0400, Ben Guthro wrote: > > Changes to the RPC protocol > > > > +struct remote_domain_event_ret { > > +remote_nonnull_domain dom; > > +int event; > > +unsigned long int callback; > > +

Re: [libvirt] Re: [PATCH 04/12] Domain Events - rpc changes

2008-10-19 Thread Daniel P. Berrange
On Fri, Oct 17, 2008 at 11:58:15AM -0400, Ben Guthro wrote: > Changes to the RPC protocol > > remote_dispatch_localvars.h |3 +++ > remote_dispatch_proc_switch.h | 18 ++ > remote_dispatch_prototypes.h |3 +++ > remote_protocol.c | 35 +++