[Libvir] [PATCH] Block device and network stats (version 2)

Richard W.M. Jones rjones at redhat.com
Tue Aug 21 11:09:09 UTC 2007


Mindaugas Kiznis wrote:
> - Aren't "xdr_remote_domain_interface_stats_ret" and 
> "xdr_remote_domain_interface_stats_args" functions missing in the patch? 
> As I understand, those should be in qemud/remote_protocol.c. 
> Repesctively, qemud/remote_protocol.h changes are missing too.

I usually omit changes to qemud/remote_protocol.[ch] and 
qemud/remote_dispatch_*.h files since these files are automatically 
generated from the single source file qemud/remote_protocol.x.  If I 
were to include those generated files in the patch it would make the 
patch much larger and harder to understand.

To rebuild them, do:

   rm -f qemud/remote_protocol.[ch] qemud/remote_dispatch_*.h
   make -C qemud remote_protocol.c
   make -C qemud all     # ignore the error

Then you should be able to autogen.sh / make clean / make all install as 
usual.

Rich.

-- 
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070821/83e5a8c0/attachment-0001.bin>


More information about the libvir-list mailing list