From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MGdw2-0002mi-SJ for qemu-devel@nongnu.org; Tue, 16 Jun 2009 15:03:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGdvx-0002fB-VM for qemu-devel@nongnu.org; Tue, 16 Jun 2009 15:03:06 -0400 Received: from [199.232.76.173] (port=46656 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGdvx-0002ek-P2 for qemu-devel@nongnu.org; Tue, 16 Jun 2009 15:03:01 -0400 Received: from mail2.shareable.org ([80.68.89.115]:40137) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MGdvx-0006Ej-8G for qemu-devel@nongnu.org; Tue, 16 Jun 2009 15:03:01 -0400 Date: Tue, 16 Jun 2009 20:02:58 +0100 From: Jamie Lokier Subject: Re: [Qemu-devel] Regression opening read-only cdroms Message-ID: <20090616190258.GN11893@shareable.org> References: <4A37896C.8050208@redhat.com> <20090616143259.GA29040@shareable.org> <4A37B23F.6040604@eu.citrix.com> <20090616145421.GD29040@shareable.org> <4A37C82B.5030805@codemonkey.ws> <4A37D30D.40003@eu.citrix.com> <20090616174653.GA11893@shareable.org> <4A37DC64.4090501@redhat.com> <20090616185646.GL11893@shareable.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090616185646.GL11893@shareable.org> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Stefano Stabellini , Christoph Hellwig , qemu-devel Jamie Lokier wrote: > Avi Kivity wrote: > > On 06/16/2009 08:46 PM, Jamie Lokier wrote: > > >Users who expect things to just work will be even more surprised that > > >"-hda image" where image is read-only does not give any error from > > >QEMU, but their guest crashes. Or that "-hda image" works as usual, > > >and their guest crashes, and eventually they discover it's because > > >their disk image is not writable, and it's always worked before > > >because they were using -snapshot or something like that, and QEMU > > >didn't warn them it would be a problem... > > > > I agree, for non-cdroms/floppies, non-backing store files we should > > require write access. > > Did you miss that read-only disks exist, as seen through > SCSI/USB/virtio, and that guests will mount them read-only automatically? I see that you didn't; our mails passed in the mist. Ok. :-) -- Jamie