From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5yW1-00073Q-Ke for qemu-devel@nongnu.org; Fri, 09 Mar 2012 07:01:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S5yVd-00012Q-17 for qemu-devel@nongnu.org; Fri, 09 Mar 2012 07:01:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:20698) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5yVc-00012J-P3 for qemu-devel@nongnu.org; Fri, 09 Mar 2012 07:01:20 -0500 Message-ID: <4F59F1E0.50205@redhat.com> Date: Fri, 09 Mar 2012 13:04:48 +0100 From: Kevin Wolf MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 3/5] block: Virtual Bridges VERDE GOW disk image format, legacy GOW version 1 support implementation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Leonardo E. Reiter" Cc: QEMU Developers Mailing List Am 08.03.2012 23:15, schrieb Leonardo E. Reiter: > +BlockDriver bdrv_gow1 = { > + .format_name = "gow1", > + .instance_size = sizeof(gow1_state_t), > + .bdrv_probe = gow1_probe, > + .bdrv_file_open = gow1_open, > + .bdrv_close = gow1_close, > + .bdrv_read = gow1_read, > + .bdrv_write = gow1_write, > + > + .bdrv_create = gow1_create, > + .bdrv_getlength = gow1_getlength, > + .bdrv_truncate = gow1_truncate, > + .create_options = gow1_create_options, > +}; I wonder whether a name like verde_gow[123] wouldn't make more sense. I think most people wouldn't be able to associate something with "gow", and it doesn't look like a good keyword for searches either. Also, is gow1 so different that implementing it in the same driver with gow[23] would be impossible? Kevin