From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MGod5-0007sI-3h for qemu-devel@nongnu.org; Wed, 17 Jun 2009 02:28:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGod0-0007lT-1z for qemu-devel@nongnu.org; Wed, 17 Jun 2009 02:28:14 -0400 Received: from [199.232.76.173] (port=42226 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGocz-0007lL-QU for qemu-devel@nongnu.org; Wed, 17 Jun 2009 02:28:09 -0400 Received: from mx2.redhat.com ([66.187.237.31]:56652) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MGocz-0001SV-8L for qemu-devel@nongnu.org; Wed, 17 Jun 2009 02:28:09 -0400 Message-ID: <4A388CE5.8030703@redhat.com> Date: Wed, 17 Jun 2009 09:27:49 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] Regression opening read-only cdroms References: <4A37896C.8050208@redhat.com> <20090616143259.GA29040@shareable.org> <4A37B23F.6040604@eu.citrix.com> <20090616145421.GD29040@shareable.org> <4A37C82B.5030805@codemonkey.ws> <4A380A7A.7080606@redhat.com> In-Reply-To: <4A380A7A.7080606@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Stefano Stabellini , Christoph Hellwig , qemu-devel On 06/17/2009 12:11 AM, Gerd Hoffmann wrote: >> This is not friendly to a user who expects that ro would Just Work. > > chmod a-w $diskimage > And you'll run into the same issue today. That should error on IDE and warn on scsi (if ,readonly not supplied) unless -snapshot. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic.