]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virsh: Improve virsh manual for virsh memtune command
authorPeter Krempa <pkrempa@redhat.com>
Thu, 22 Sep 2011 10:14:18 +0000 (12:14 +0200)
committerEric Blake <eblake@redhat.com>
Thu, 22 Sep 2011 17:07:45 +0000 (11:07 -0600)
Commit 0a22f54 added --min-guarantee option for the memtune command.
This option is supported only by the ESX hypervisor. This patch adds a
statement about this fact, to prevent user confusion.

This patch also adds explanation how to clear/set to unlimited the
memory tunables. (documments the -1 value).

tools/virsh.pod

index 88dee266070ccda4870b2312af01dd5bd79d4ce2..086fe93c8c2941e97be2e6eda33848ef9786105e 100644 (file)
@@ -959,6 +959,7 @@ Allows you to display or set the domain memory parameters. Without
 flags, the current settings are displayed; with a flag, the
 appropriate limit is adjusted if supported by the hypervisor.  LXC and
 QEMU/KVM support I<--hard-limit>, I<--soft-limit>, and I<--swap-hard-limit>.
+I<--min-guarantee> is supported only by ESX hypervisor.
 
 If I<--live> is specified, affect a running guest.
 If I<--config> is specified, affect the next boot of a persistent guest.
@@ -997,6 +998,8 @@ value are kilobytes (i.e. blocks of 1024 bytes).
 
 =back
 
+Specifying -1 as a value for these limits is interpreted as unlimited.
+
 =item B<blkiotune> I<domain-id> [I<--weight> B<weight>] [[I<--config>]
 [I<--live>] | [I<--current>]]