Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DcgVU-000699-W6 for qemu-devel@nongnu.org; Mon, 30 May 2005 05:24:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DcgVQ-00068E-3z for qemu-devel@nongnu.org; Mon, 30 May 2005 05:24:21 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DcgOR-0005ms-Rh for qemu-devel@nongnu.org; Mon, 30 May 2005 05:17:08 -0400 Received: from [83.241.133.2] (helo=filer.marasystems.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DcgFI-0000Te-4P for qemu-devel@nongnu.org; Mon, 30 May 2005 05:07:40 -0400 Received: from localhost (henrik@localhost) by filer.marasystems.com (8.11.6/8.11.6) with ESMTP id j4U964E11657 for ; Mon, 30 May 2005 11:06:04 +0200 Date: Mon, 30 May 2005 11:06:04 +0200 (CEST) From: Henrik Nordstrom Subject: Re: [Qemu-devel] Qemu sandbox for teaching In-Reply-To: <1117302653.4733.12.camel@mobj> Message-ID: References: <1117284129.30948.16.camel@mobj> <200505281413.15225.paul@codesourcery.com> <1117302653.4733.12.camel@mobj> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: List qemu-devel On Sat, 28 May 2005, Jerome Warnier wrote: > Advantages of every solution: > - UML is fast to run and pretty safe If you give out root rights UML is only as safe as the account the UML=20 kernel runs as. > Problems of every solution: > - qemu is slow, and a lot of virtual machines at the same time on the > same machine will slow it down and use too much memory, I think (I'm > talking about 10 people =ABplaying=BB at the same time). Using only a > text-mode virtual machine may probably help, though Only text-mode helps a lot. > - chroot does not allow much and may take time to setup correctly chroot and allowing root rights is a no-no. The root user within a chroot= =20 is still root. > - UML is difficult to setup, and needs a kernel patch (even on 2.6?) to > work UML doesn't require a kernel patch but it performs significantly better=20 if you do. Similar for qemu with it's kqemu kernel module, but here only a custom=20 module is required no patching of the main kernel. I would go for qemu (with kqemu), tun/tap networking with proxy-arp or=20 explicit routing and a java applet SSH (or perhaps telnet) client to=20 connect. Regards Henrik