[virt-tools-list] [PATCH] virtinst: add vcpupin support

Cole Robinson crobinso at redhat.com
Tue Feb 6 15:32:22 UTC 2018


On 02/06/2018 06:56 AM, Menno Lageman wrote:
> From: Wim ten Have <wim.ten.have at oracle.com>
> 
> Add vcpupin support to virt-install so that it can create guest
> domains with statically allocated vcpu pinning towards a given cpuset.
> 
> Syntax: to pin vcpu=0 to cpuset="1,3" and vcpu=1 to cpuset=2
> 
>   --cputune vcpupin0.vcpu=0,vcpupin0.cpuset=1,3,vcpupin1.vcpu=1,vcpupin1.cpuset=2
> 
> generates below XML description for the guest domain.
> 
>   <cputune>
>     <vcpupin vcpu="0" cpuset="1,3"/>
>     <vcpupin vcpu="1" cpuset="2"/>
>   </cputune>
> 
> Signed-off-by: Wim ten Have <wim.ten.have at oracle.com>
> Signed-off-by: Menno Lageman <menno.lageman at oracle.com>

Thanks, pushed now

- Cole




More information about the virt-tools-list mailing list