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

Richard W.M. Jones rjones at redhat.com
Mon Aug 20 15:31:26 UTC 2007


This patch adds block device and network stats.  The main changes over 
the previous version are:

* Remote support.
* Change Xen network interface names to have the form "vif<domid>.<n>"[1].

Discussions about the previous version may be found starting here:
https://www.redhat.com/archives/libvir-list/2007-August/thread.html#00064

I have left use of stdint.h / int64_t, since it wasn't clear to me what 
conclusion people had arrived at.

I left the explicit structure size parameter to allow for future 
extensibility.

Also attached is the output of:
   virsh -c xen+tls://amd/ domifstat fc6_1 vif2.0

Rich.

[1] There is currently no way to get the interface name except to just 
know it -- that is the subject of a separate patch.

-- 
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: libvirt-stats-20070820.patch
Type: text/x-patch
Size: 28219 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070820/6e10a56b/attachment-0002.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: domifstat.txt
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070820/6e10a56b/attachment-0001.txt>
-------------- 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/20070820/6e10a56b/attachment-0003.bin>


More information about the libvir-list mailing list