From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSFfe-0006bS-Gk for qemu-devel@nongnu.org; Tue, 05 Jan 2010 15:06:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSFfY-0006Yv-Ms for qemu-devel@nongnu.org; Tue, 05 Jan 2010 15:06:25 -0500 Received: from [199.232.76.173] (port=42725 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSFfY-0006Yo-Gt for qemu-devel@nongnu.org; Tue, 05 Jan 2010 15:06:20 -0500 Received: from mx20.gnu.org ([199.232.41.8]:36892) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NSFfY-00011b-28 for qemu-devel@nongnu.org; Tue, 05 Jan 2010 15:06:20 -0500 Received: from mail-iw0-f197.google.com ([209.85.223.197]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NRswO-0004Cc-SH for qemu-devel@nongnu.org; Mon, 04 Jan 2010 14:50:13 -0500 Received: by iwn35 with SMTP id 35so10606973iwn.4 for ; Mon, 04 Jan 2010 11:49:11 -0800 (PST) Message-ID: <4B42543C.4060506@codemonkey.ws> Date: Mon, 04 Jan 2010 14:49:00 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Added 'access' option to -drive flag References: <4B320927.8020702@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Naphtali Sprei , qemu-devel@nongnu.org On 12/24/2009 03:09 AM, Markus Armbruster wrote: > Naphtali Sprei writes: > >> Added 'access' option to -drive flag >> >> The new option is: access=[rw|ro|auto] >> rw: open the drive's file with Read and Write permission, don't continue if failed >> ro: open the file only with Read permission >> auto: open the file with Read and Write permission, if failed, try only Read permision >> >> For compatibility reasons, the default is 'auto'. Should be changed later on. >> >> This option is to replace the 'readonly' options added lately. > > Can we take the readonly parameter away? It's undocumented, for > whatever that's worth... readonly made 0.12. Semantics, readonly makes it to the disk emulation whereas this effects how the file is opened. Regards, Anthony Liguori