[et-mgmt-tools] [PATCH] BZ#251643: Allow to set the cpu pinning for to create installing domain
Tatsuro Enokura
fj7716hz at aa.jp.fujitsu.com
Thu Dec 6 08:33:39 UTC 2007
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.
Signed-off-by: Tatsuro Enokura <fj7716hz at aa.jp.fujitsu.com>
Thanks,
Tatsuro Enokura
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cpuset.patch
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20071206/aa8f4302/attachment.ksh>
More information about the et-mgmt-tools
mailing list