From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MtT9i-0005wI-TJ for qemu-devel@nongnu.org; Thu, 01 Oct 2009 17:25:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MtT9d-0005vA-OM for qemu-devel@nongnu.org; Thu, 01 Oct 2009 17:25:41 -0400 Received: from [199.232.76.173] (port=40606 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MtT9d-0005v7-Gz for qemu-devel@nongnu.org; Thu, 01 Oct 2009 17:25:37 -0400 Received: from mail-pz0-f188.google.com ([209.85.222.188]:39970) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MtT9Y-00031i-6a for qemu-devel@nongnu.org; Thu, 01 Oct 2009 17:25:33 -0400 Received: by pzk26 with SMTP id 26so522812pzk.4 for ; Thu, 01 Oct 2009 14:25:31 -0700 (PDT) Message-ID: <4AC51E47.8030709@codemonkey.ws> Date: Thu, 01 Oct 2009 16:25:27 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] RFC configurable block formats References: <873a64dyit.fsf@pike.pond.sub.org> <4AC3E97C.7070005@codemonkey.ws> <87ab0azwlz.fsf@pike.pond.sub.org> In-Reply-To: <87ab0azwlz.fsf@pike.pond.sub.org> 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: qemu-devel@nongnu.org Markus Armbruster wrote: > Anthony Liguori writes: > > >> The list would be used to exclude block formats and could be >> extended to support read-only formats vs. read-write formats. For >> instance, --enable-block-formats='qcow2 raw'. It avoids polluting the >> block interface with knowledge of the distinction between a "utility" >> program and qemu proper. >> > > I agree it's better to keep it out of the BlockDriver interface. > > Here's a patch for illustration. It's only lightly tested, lacks the > configure part, and I still need to check all users of bdrv_open2() are > happy. Are we on the same page? > Looks reasonable to me. Regards, Anthony Liguori