]> xenbits.xensource.com Git - libvirt.git/commitdiff
virsh: Document limitation of domifstat
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 13 Oct 2017 20:15:13 +0000 (13:15 -0700)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 13 Oct 2017 20:46:01 +0000 (13:46 -0700)
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 <mprivozn@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
tools/virsh.pod

index 00d93781ac0082d157f8a233ed9775bf4f526286..279bbe7dec9335402327625a54c0e06b00cd33ad 100644 (file)
@@ -775,7 +775,11 @@ the guest OS via an agent. If unspecified, 'lease' is the default.
 
 =item B<domifstat> I<domain> I<interface-device>
 
-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<domif-setlink> I<domain> I<interface-device> I<state> [I<--config>]