Re: [PATCH 0/3] lxc: Implement emulator pin APIs to set/get cpuset

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

 



Ping?

On 2014/9/4 15:52, Wang Rui wrote:
> We can specify cpuset for a container defined with the xml
> like <vcpu placement='static' cpuset='0-3'> to achieve cpu
> isolation. It works when container is started. But there
> is no implements we can use to either change or get cpuset.
> 
> The following patches implement the lxc driver methods for
> virDomainPinEmulator and virDomainGetEmulatorPinInfo. Also
> support container startup with emulator affinity info in xml.
> 
> After these patches, we can set and get libvirt_lxc cpuset.
> 
> Yue Wenyuan (3):
>   lxc: Implement pin emulator for container startup
>   lxc: Implement emulator pin API in lxc driver
>   lxc: Implement geting emulator pin info API in lxc driver
> 
>  src/lxc/lxc_cgroup.c     |  88 ++++++++++++++++++++
>  src/lxc/lxc_cgroup.h     |   7 ++
>  src/lxc/lxc_controller.c |   4 +
>  src/lxc/lxc_driver.c     | 206 +++++++++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 305 insertions(+)
> 


--
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]