Re: [libvirt] [PATCH] openvz: add network interface stats

2012-04-23 Thread Guido Günther
On Fri, Apr 20, 2012 at 12:01:51PM -0400, Laine Stump wrote: On 04/19/2012 06:32 PM, Guido Günther wrote: This will only work for veth devices since venet devices don't have a target element. Well, there is precedent for having stats work on some types of interfaces and not on others -

Re: [libvirt] [PATCH] openvz: add network interface stats

2012-04-20 Thread Laine Stump
On 04/19/2012 06:32 PM, Guido Günther wrote: This will only work for veth devices since venet devices don't have a target element. Well, there is precedent for having stats work on some types of interfaces and not on others - type='user' interfaces in qemu also don't get stats (as the

[libvirt] [PATCH] openvz: add network interface stats

2012-04-19 Thread Guido Günther
This will only work for veth devices since venet devices don't have a target element. --- src/openvz/openvz_driver.c | 52 1 file changed, 52 insertions(+) diff --git a/src/openvz/openvz_driver.c b/src/openvz/openvz_driver.c index 7ec327d..e8b6915