Re: [Lxc-users] restricting container visible cpus

2010-03-15 Thread atp
Daniel, > Not really. I think we should create a single daemon on the host > providing services for the container, but there is the isolation > preventing us to do that easily, so I don't have yet a clear idea of how > to do that. Ok, fair enough. I'll proceed with the setup as it stands the

Re: [Lxc-users] restricting container visible cpus

2010-03-15 Thread Daniel Lezcano
atp wrote: > Daniel, > > >> Not really. I think we should create a single daemon on the host >> providing services for the container, but there is the isolation >> preventing us to do that easily, so I don't have yet a clear idea of how >> to do that. >> > > Ok, fair enough. I'll proce

Re: [Lxc-users] restricting container visible cpus

2010-03-14 Thread Daniel Lezcano
atp wrote: > Daniel, > > Apologies for the delay - I've just got to looking at the procfs > tarball. > Apologies for the delay too, I just figure out, my answer was still in the draft folder :s >> It's for the moment very experimental, it's a prototype: >> http://lxc.sourceforge.net/download

Re: [Lxc-users] restricting container visible cpus

2010-02-01 Thread Daniel Lezcano
atp wrote: > Daniel, > > >> I already proposed this approach but it was rightfully rejected. I think >> that will be a total mess to handle that from the kernel because if you >> add the cpus, after you will need the memory, the swap, hide the content >> of some files etc ... >> > > Fai

Re: [Lxc-users] restricting container visible cpus

2010-02-01 Thread Daniel Lezcano
atp wrote: > Hi, > > >> There is a /proc virtualization layer prototype with fuse which needs to >> be enhanced but it's not for the short term as there are several issues >> with the container itself to be solved before adding it. >> But any volunteer is welcome ;) >> >> > > I hacked u

Re: [Lxc-users] restricting container visible cpus

2010-01-31 Thread Daniel Lezcano
atp wrote: > Hi, > >I'm looking at trying to restrict a container's view of the cpus > available on the system. I'm on fedora 12, with lxc-0.6.5-1.x86_64 > > Does anyone know if it is possible to restrict the containers view of > the number of cpus it has access to? Would the libvirt interface

Re: [Lxc-users] restricting container visible cpus

2010-01-28 Thread Serge E. Hallyn
Quoting atp (a...@lmax.com): > Hi, > >I'm looking at trying to restrict a container's view of the cpus > available on the system. I'm on fedora 12, with lxc-0.6.5-1.x86_64 > > Does anyone know if it is possible to restrict the containers view of > the number of cpus it has access to? Would th

[Lxc-users] restricting container visible cpus

2010-01-28 Thread atp
Hi, I'm looking at trying to restrict a container's view of the cpus available on the system. I'm on fedora 12, with lxc-0.6.5-1.x86_64 Does anyone know if it is possible to restrict the containers view of the number of cpus it has access to? Would the libvirt interface to lxc be able to do t