[libvirt] [PATCH 01/10] Defines the basics of a generic RPC protocol in XDR

Daniel P. Berrange berrange at redhat.com
Fri Jun 24 09:18:48 UTC 2011


On Thu, Jun 23, 2011 at 03:49:52PM -0600, Eric Blake wrote:
> On 06/22/2011 09:33 AM, Daniel P. Berrange wrote:
> > This patch defines the basics of a generic RPC protocol in XDR.
> > This is wire ABI compatible with the original remote_protocol.x.
> > It takes everything except for the RPC calls / events from that
> > protocol
> > 
> >  - The basic header virNetMessageHeader (aka remote_message_header)
> >  - The error object virNetMessageError  (aka remote_error)
> >  - Two dummy objects virNetMessageDomain & virNetMessageNetwork
> >    sadly needed to keep virNetMessageError ABI compatible with
> >    the old remote_error
> > 
> > The RPC protocol supports method calls, async events and
> > bidirectional data streams as before
> > 
> > * src/Makefile.am: Add rules for generating RPC code from
> >   protocol & define a new libvirt-net-rpc.la helper library
> > * src/rpc/virnetprotocol.x: New generic RPC protocol
> > * src/rpc/virnetprotocol.c, src/rpc/virnetprotocol.h: Generated
> >   from virnetprotocol.x
> 
> Now that generated files are not kept in git, do you need to mention
> them in this commit message?  I guess it doesn't hurt, though.

This is a leftover message from before we removed the
generated files from git. I'll update it...

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list