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

2011-01-05 Thread Daniel P. Berrange
On Thu, Dec 16, 2010 at 08:27:23AM -0700, Eric Blake wrote: > On 12/16/2010 04:21 AM, Daniel P. Berrange wrote: > > +const VIR_NET_MESSAGE_HEADER_MAX = 24; > > + > > +/* Size of message payload */ > > +const VIR_NET_MESSAGE_PAYLOAD_MAX = 262120; > > Would it be better to write VIR_NET_MESSAGE_PAYL

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

2010-12-16 Thread Eric Blake
On 12/16/2010 04:21 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. > diff --git a/.x-sc_preprocessor_indentation b/.x-sc_preprocessor_indentation > new file mode 100644 > index 00

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

2010-12-16 Thread Daniel P. Berrange
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 virNetMe