From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KOXtf-00040w-M0 for qemu-devel@nongnu.org; Thu, 31 Jul 2008 09:08:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KOXte-00040k-3x for qemu-devel@nongnu.org; Thu, 31 Jul 2008 09:08:47 -0400 Received: from [199.232.76.173] (port=60174 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOXte-00040h-1l for qemu-devel@nongnu.org; Thu, 31 Jul 2008 09:08:46 -0400 Received: from mx1.redhat.com ([66.187.233.31]:35330) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KOXtd-0004Vw-NG for qemu-devel@nongnu.org; Thu, 31 Jul 2008 09:08:45 -0400 Date: Thu, 31 Jul 2008 14:08:42 +0100 From: "Daniel P. Berrange" Subject: Re: [Qemu-devel] PATCH: Control over drive open modes for backing file Message-ID: <20080731130842.GB18548@redhat.com> References: <20080731113120.GJ23888@redhat.com> <20080731121537.GA16481@shareable.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080731121537.GA16481@shareable.org> Reply-To: "Daniel P. Berrange" , qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jamie Lokier Cc: qemu-devel@nongnu.org On Thu, Jul 31, 2008 at 01:15:37PM +0100, Jamie Lokier wrote: > Daniel P. Berrange wrote: > > - Adds a new option to the '-drive' command line parameter to specify > > how the file should be opened, and any fallback > > I would like to open the main file read-write, but the backing file > read-only, as the backing file is shared among many images. > > Can your options choose that? No, you'd need to add further options for that - the existing code opens the backing files with same mode as the primary files, and my change maintains that behaviour. Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|