Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HFeJv-0007IR-LC for qemu-devel@nongnu.org; Fri, 09 Feb 2007 17:34:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HFeJu-0007Hl-AT for qemu-devel@nongnu.org; Fri, 09 Feb 2007 17:34:19 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HFeJu-0007Hf-2v for qemu-devel@nongnu.org; Fri, 09 Feb 2007 17:34:18 -0500 Received: from erizo.shearer.org ([210.10.97.33] helo=shearer.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA:16) (Exim 4.52) id 1HFeJt-0003iF-EZ for qemu-devel@nongnu.org; Fri, 09 Feb 2007 17:34:17 -0500 Received: from localhost ([127.0.0.1]:56664 helo=shearer.org) by shearer.org with esmtp (Dan's MTA 1.0) id 1HFeJb-0005pb-Gu for qemu-devel@nongnu.org; Sat, 10 Feb 2007 09:03:59 +1030 Received: from dan by erizo.shearer.org with local (Spammer Slammer 3.141) id 1HFeJb-0005pY-DD for qemu-devel@nongnu.org; Sat, 10 Feb 2007 09:03:59 +1030 Date: Sat, 10 Feb 2007 09:03:59 +1030 From: Dan Shearer Subject: Re: [Qemu-devel] Two quick requests. Message-ID: <20070209223359.GU29333@erizo.shearer.org> References: <200702091719.16429.rob@landley.net> <200702092227.09299.paul@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <200702092227.09299.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Fri, Feb 09, 2007 at 10:27:08PM +0000, Paul Brook wrote: > On Friday 09 February 2007 22:19, Rob Landley wrote: > > 1) When you accidentally run qemu as root, could it NOT try to go into a > > full-screen display by default resulting in a corrupted display you can't > > break out of and have to power cycle the machine? > > This is a feature of your SDL libraries. They're probably trying to use > console framebuffer output. Complain to whoever supplied your SDL libraries. True but I think Rob wants to prevent the "accidentally" bit because that isn't the only bad thing you can do with QEMU as root by accident. The user's intention can be (more or less) detected with a parameter like "-force-run-as-root". Since once of QEMU's main points is to avoid the need for root access I think that's reasonable. -- Dan Shearer dan@shearer.org