[Libvir] [PATCH] Implement virDomainBlockStats for QEMU/KVM

2008-02-26 Thread Richard W.M. Jones
This little patch just implements the virDomainBlockStats call for qemu kvm. It does this by using the new 'info blockstats' monitor command which I added to qemu KVM upstream some months back, and (hopefully) it does the right thing if this command is not available. Rich. -- Richard Jones,

Re: [Libvir] [PATCH] Implement virDomainBlockStats for QEMU/KVM

2008-02-26 Thread Daniel Veillard
On Tue, Feb 26, 2008 at 11:32:20AM +, Richard W.M. Jones wrote: This little patch just implements the virDomainBlockStats call for qemu kvm. It does this by using the new 'info blockstats' monitor command which I added to qemu KVM upstream some months back, and (hopefully) it does the

Re: [Libvir] [PATCH] Implement virDomainBlockStats for QEMU/KVM

2008-02-26 Thread Jim Meyering
Daniel P. Berrange [EMAIL PROTECTED] wrote: On Tue, Feb 26, 2008 at 03:38:56PM +0100, Jim Meyering wrote: diff --git a/src/qemu_driver.c b/src/qemu_driver.c index f97ef18..d9a7aca 100644 --- a/src/qemu_driver.c +++ b/src/qemu_driver.c @@ -1315,8 +1315,9 @@ static void

Re: [Libvir] [PATCH] Implement virDomainBlockStats for QEMU/KVM

2008-02-26 Thread Richard W.M. Jones
Thanks everyone. I've committed that with the suggested changes. Rich. -- 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.