On Fri, 2014-10-10 at 13:58 +0800, Wang Rui wrote: > Ping? I found some wrong indentation in the 3 patches. like following in patch 1/3: +static int virLXCCgroupSetupCpusetTuneForEmulator(virDomainDefPtr def, + virCgroupPtr cgroup, + virBitmapPtr nodemask) Thanks, Chen > > 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 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list