Re: [libvirt] [PATCH] cpu usage in OpenVZ

2008-07-21 Thread Daniel Veillard
On Fri, Jul 18, 2008 at 01:41:34PM +0400, Evgeniy Sokolov wrote: > >On Thu, Jul 17, 2008 at 03:04:46PM +0400, Evgeniy Sokolov wrote: > >>OpenVZ calculate statistics and allow to get them . > >>Added function for getting cpu usage of container. > > > >Modular some minor comments, ACK for this patch

Re: [libvirt] [PATCH] cpu usage in OpenVZ

2008-07-18 Thread Evgeniy Sokolov
On Thu, Jul 17, 2008 at 03:04:46PM +0400, Evgeniy Sokolov wrote: OpenVZ calculate statistics and allow to get them . Added function for getting cpu usage of container. Modular some minor comments, ACK for this patch. +if (!openvzIsActiveVM(vm)) { +info->cpuTime = 0; +} else {

Re: [libvirt] [PATCH] cpu usage in OpenVZ

2008-07-17 Thread Daniel P. Berrange
On Thu, Jul 17, 2008 at 03:04:46PM +0400, Evgeniy Sokolov wrote: > OpenVZ calculate statistics and allow to get them . > Added function for getting cpu usage of container. Modular some minor comments, ACK for this patch. > +if (!openvzIsActiveVM(vm)) { > +info->cpuTime = 0; > +}

[libvirt] [PATCH] cpu usage in OpenVZ

2008-07-17 Thread Evgeniy Sokolov
OpenVZ calculate statistics and allow to get them . Added function for getting cpu usage of container. Index: src/openvz_driver.c === RCS file: /data/cvs/libvirt/src/openvz_driver.c,v retrieving revision 1.31 diff -u -p -r1.31 openvz_