]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
setmem: add --current option to virsh setmem command
authorTaku Izumi <izumi.taku@jp.fujitsu.com>
Wed, 23 Mar 2011 05:49:28 +0000 (14:49 +0900)
committerEric Blake <eblake@redhat.com>
Thu, 7 Apr 2011 23:19:46 +0000 (17:19 -0600)
commit80427f1d87211fb4d9de8ff519676b4893f5a9a2
treecec2bdd38145195697c6ba86edfb4ddc4ed1660b
parent95298e2380b414916719a9cdea1d8cde891cd6a7
setmem: add --current option to virsh setmem command

This patch adds the new option (--current) to the "virsh setmem" command.
When --current option is specified, it affects a "current" domain.
The word "current" denotes that if a domain is running, it affects
a running domain only; otherwise it affects a persistent domain.

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