[et-mgmt-tools] [PATCH] BZ#251643: Allow to set the cpu pinning for to create installing domain

Daniel P. Berrange berrange at redhat.com
Fri Dec 7 03:16:23 UTC 2007


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.

Thanks, this looks good to me.

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the et-mgmt-tools mailing list