]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vcpupin: add reset option to virsh vcpupin command
authorTaku Izumi <izumi.taku@jp.fujitsu.com>
Fri, 10 Jun 2011 06:39:38 +0000 (15:39 +0900)
committerWen Congyang <wency@cn.fujitsu.com>
Mon, 20 Jun 2011 10:14:54 +0000 (18:14 +0800)
commitc4a8ca71b10ebb3131b4dd13f9a1a41ba52047d3
tree6835b46cd297b979a59968961afa368b81e24f40
parent2903534a308150d3317fa181047c4a52fd5357ba
vcpupin: add reset option to virsh vcpupin command

When resetting vcpupin setting, we have to specify all host physical
cpus as a cpulist parameter of virsh vcpupin command. It's a little
tedious.

This patch changes to allow to receive the special keyword 'r' as a cpulist
parameter of virsh vcpupin command when resetting vcpupin setting.

If you set the following:

 # virsh vcpupin VM 0 r

the vcpu0 will be pinned to all physical cpus.

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