From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Lezcano Subject: Re: Two newbie questions on containers Date: Wed, 12 Jan 2011 15:17:51 +0100 Message-ID: <4D2DB80F.5020307@free.fr> References: <4D2CD4F7.9040006@freescale.com> <1294790546.26638.36.camel@tp-t61> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1294790546.26638.36.camel@tp-t61> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Nathan Lynch Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Timur Tabi List-Id: containers.vger.kernel.org On 01/12/2011 01:02 AM, Nathan Lynch wrote: > Hi Timur, > > On Tue, 2011-01-11 at 16:08 -0600, Timur Tabi wrote: >> I'm in the process of learning about Linux containers, including cgroups, and >> the learning curve seems pretty steep to me. So I have a couple newbie >> questions for all of you. Any detailed answered are greatly appreciated. >> >> 1) For the PowerPC architecture, is there anything that is "missing"? I can't >> really tell how much of cgroups and lxc is architecture-specific, and there >> appears to be PowerPC support for both already. I'd like to know if this >> another one of those areas, like KVM, where x86 is fully implemented and PowerPC >> support is lagging. > cgroups and the lxc utilities work just as well on powerpc as they do on > x86; there's nothing arch-specific about them. On PowerPC, the network physical driver (at the hypervisor level) will prevent different LPAR to communicate on the same blade if the network is virtualized. >> 2) Given a random device driver, like a driver for a serial port, is there an >> opportunity for the driver to be enhanced to support cgroups or lxc? Doing a >> simple search of the kernel source code, I don't really see any drivers making >> calls into any cgroup code, so I don't understand how to restrict device access >> to a specific container or cgroup. > Not totally sure about this myself, but have you read > Documentation/cgroups/devices.txt in the kernel source yet? > > > _______________________________________________ > Containers mailing list > Containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org > https://lists.linux-foundation.org/mailman/listinfo/containers >