[Libguestfs] Notes on getting libguestfs to work on Mac OS X

Richard W.M. Jones rjones at redhat.com
Thu Oct 17 12:03:26 UTC 2013


On Thu, Oct 17, 2013 at 11:49:04AM +0100, Richard W.M. Jones wrote:
> - src/proto.c: replace if (!(*xdrp) (&xdr, args)) -> if (!(*xdrp) (&xdr, args, 0))
> - src/proto.c: replace if (xdrp && ret && !xdrp (&xdr, ret)) -> if (xdrp && ret && !xdrp (&xdr, ret, 0))

On this point, don't use the {src,daemon}/guestfs_protocol.[ch] files
that may be created by OS X's rpcgen (which is quite broken).  Copy
those files from a Linux box/VM.

Rich.

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




More information about the Libguestfs mailing list