[libvirt] PATCH: Support initial boot time CPU affinity mask

Cole Robinson crobinso at redhat.com
Fri May 16 22:54:56 UTC 2008


Stefan de Konink wrote:
> On Fri, 16 May 2008, Daniel P. Berrange wrote:
> 
>> The XML format allows for an initial CPU mask to be specified for a guests
>> vCPUs. eg with this XML:
>>
>>   <vcpu cpuset='1-4,8-20,525'>1</vcpu>
>>
>> Since we have CPU pinning support from my previous patch, adding in the
>> initial pinning is fairly easy. We first pass the '-S' arg to QEMU when
>> forking it. This causes it to initialize, but not start the CPUs in the
>> guest. We then set the affinity mask for all its CPUs, and then send
>> the 'cont' command to the monitor to start execution.
> 
> Does this include Xen support?
> 
> 
> Stefan
> 

cpu pinning is already support for xen.

- Cole




More information about the libvir-list mailing list