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

Menno Lageman menno.lageman at oracle.com
Tue Feb 6 16:14:00 UTC 2018


On 06-02-18 16:32, Cole Robinson wrote:
> 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
> 

Great, thanks!

Menno




More information about the virt-tools-list mailing list