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

Stefan de Konink skinkie at xs4all.nl
Fri May 16 22:05:01 UTC 2008


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




More information about the libvir-list mailing list