[libvirt] [PATCH] virsh: Improve virsh manual for virsh memtune command

Peter Krempa pkrempa at redhat.com
Thu Sep 22 10:14:18 UTC 2011


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 |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/tools/virsh.pod b/tools/virsh.pod
index 88dee26..7f46ee4 100644
--- a/tools/virsh.pod
+++ b/tools/virsh.pod
@@ -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 yet.

 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>]]

-- 
1.7.3.4




More information about the libvir-list mailing list