From 24796f2710f48d93ab360b950d28b121876975d5 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Fri, 13 Oct 2017 13:15:13 -0700 Subject: [PATCH] virsh: Document limitation of domifstat https://bugzilla.redhat.com/show_bug.cgi?id=1497396 The current implementation reads the stats from the host. However, this doesn't work for all types of interfaces as not all of them have a representation in the host. For instance, interface type='user' doesn't. Signed-off-by: Michal Privoznik Reviewed-by: John Ferlan --- tools/virsh.pod | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/virsh.pod b/tools/virsh.pod index 00d93781ac..279bbe7dec 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -775,7 +775,11 @@ the guest OS via an agent. If unspecified, 'lease' is the default. =item B I I -Get network interface stats for a running domain. +Get network interface stats for a running domain. The network +interface stats are only available for interfaces that have a +physical source interface. This does not include, for example, a +'user' interface type since it is a virtual LAN with NAT to the +outside world. =item B I I I [I<--config>]