]> git.ipfire.org Git - thirdparty/libvirt.git/commit
setmaxmem: add the new options to "virsh setmaxmem" command
authorTaku Izumi <izumi.taku@jp.fujitsu.com>
Fri, 8 Apr 2011 05:08:52 +0000 (14:08 +0900)
committerEric Blake <eblake@redhat.com>
Sat, 9 Apr 2011 02:22:12 +0000 (20:22 -0600)
commit0ad06c1116d26845fed01eeee81bc2c9b0107cab
treec52115266b5f48381e58eef9322f2662905669f0
parentc1795c52040ac514710bd977b13e2f7af4163b7a
setmaxmem: add the new options to "virsh setmaxmem" command

This patch adds the new options (--live, --config, and --current) to
"virsh setmaxmem" command. The behavior of above options is the same
as that of "virsh setmem".  When the --config option is specified, a
modification is effective for the persistent domain, while the --live
option is specified, a modification is effective for an active
domain. The --current option is specified, it affects a current
domain.

Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com>
tools/virsh.c
tools/virsh.pod