[PATCH] BZ#251641: Allow to change the cpu pinning for inactive domain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I want to change the cpu pinning for inactive domain on RHEL-5.1.
So, I just add the xenXMDomainPinVcpu to xm_internal.c.
We will be allowed to change "cpus" parameter in configuration file
with "vcpupin" command by this patch, like "setmem" or "setvcpus".

There is 2 things to note:
  - This is an effective feature for inactive domain with
    Xen3.0.3 (less than 3 of xendConfigVersion).
  - On the above environment, the number which specified as 
    <vcpu> is ignored, because the virtual CPUs is not present 
    when domain is shut off. So, when executing "vcpupin" command
    with this option
       # virsh vcpupin Guest 0 1
    "0"(vcpu) is ignored and "1"(cpulist) is set to configuration file
    as "cpus".
       # cat /etc/xen/Guest | grep cpus
       cpus = "1"

Regards,
Saori Fukuta

Attachment: add_vcpupin.patch
Description: Binary data

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]