BZ#251643: Allow to set the cpu pinning for to create installing domain
On Thu, Dec 06, 2007 at 05:33:39PM +0900, Tatsuro Enokura wrote:
> Hi,
>
> I want to set the cpu pinning for create installing domain by virt-install
> on RHEL5.1.
>
> So, I just add the option to virt-install.
> We will be allowed to set "cpus" parameter in configuration file
> and to set "cpuset" parameter in create installing domain with "cpuset" option
> by this patch.
>
> command-line example:
> # virt-install --name=domain1 --ram=512 --file=/dev/sdb --cpuset=0,2-4 ...
>
> some notes are follows:
> - cpuset can only contain numeric, ',', or '-' characters.
> - cpuset's pCPU numbers must be less than pCPUs.
> - This is an effective feature for to create installing domain and
> configuration file with libvirt revision >= 1.789.
> - This is an effective feature for to create installing domain and
> configuration file with xen hypervisor.
> Other hypervisor(like kvm, qemu...) ignores this option.
> - This feature covers cpupin on virt-install of BZ#251643.
> It will work about other things(weight, cap, ...) in the future.