[libvirt] Re: remote_protocol.{c,h} ?

Richard W.M. Jones rjones at redhat.com
Wed Sep 3 11:43:23 UTC 2008

On Wed, Sep 03, 2008 at 02:33:09PM +0900, Jun Koi wrote:
> I looked again, and see that we can generate remote_protocol.c from
> rpcgen. Currently it seems remote_protocol.c is hacked a bit to remove
> some unused stack variables? Why do we need to do such a thing, while
> compiler can optimize that for us?

It's just to remove some compiler warnings, and possibly some real
problems.  The code generated by glibc rpcgen contains type punning



Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.

More information about the libvir-list mailing list