]> xenbits.xensource.com Git - libvirt.git/commit
setmem: add the new options to "virsh setmem" command
authorTaku Izumi <izumi.taku@jp.fujitsu.com>
Wed, 2 Mar 2011 08:13:39 +0000 (17:13 +0900)
committerEric Blake <eblake@redhat.com>
Thu, 10 Mar 2011 22:02:58 +0000 (15:02 -0700)
commit2d70a46911d242a37b48330ac0af0e661cbd1bd2
treefd1d6ad4a4b37f968fea1f4d5ac204c831f0b96a
parent55141abf9d9a348bac48bf477e31d6fb556ab85b
setmem: add the new options to "virsh setmem" command

This patch adds the new options (--live and --config)  to "virsh setmem" command.
The behavior of above options is the same as that of "virsh setvcpus" and so on.
That is, when the --config option is specified, a modification is effective for
the persistent domain. Moreover we can modify the memory size of inactive domains
as well as that of active domains.

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