[libvirt] [PATCH 6/6] Add document for the new command domiftune

Hu Tao hutao at cn.fujitsu.com
Thu Dec 8 02:51:46 UTC 2011


Add document for the new command domiftune to virsh man page.
---
 tools/virsh.pod |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/tools/virsh.pod b/tools/virsh.pod
index fe92714..3c3efaa 100644
--- a/tools/virsh.pod
+++ b/tools/virsh.pod
@@ -553,6 +553,27 @@ configuration of the domain is modified.
 Query link state of the domain's virtual interface. If --persistent
 is specified, query the persistent configuration.
 
+=item B<domiftune> I<domain> I<interface-device>
+[[I<--config>] [I<--live>] | [I<--current>]]
+[I<--inbound average,peak,burst>]
+[I<--outbound average,peak,burst>]
+
+Set or query the domain's network interface's bandwidth parameters.
+I<interface-device> can be the interface name (<target dev='name'/>),
+or the mac address if the name is not specified in xml.
+
+If no I<--inbound> or I<--outbound> is specified, this command will
+query and show the bandwidth settings. Otherwise, it will set the
+inbound or outbound bandwidth. I<average,peak,burst> is the same as
+in command I<attach-interface>.
+
+If I<--live> is specified, affect a running guest.
+If I<--config> is specified, affect the next boot of a persistent guest.
+If I<--current> is specified, affect the current guest state.
+Both I<--live> and I<--current> flags may be given, but I<--current> is
+exclusive. If no flag is specified, behavior is different depending
+on hypervisor.
+
 =item B<dommemstat> I<domain>
 
 Get memory stats for a running domain.
-- 
1.7.3.1




More information about the libvir-list mailing list