From: Ian Jackson Subject: Re: [PATCH] libxl: Lists qdisk device in libxl_device_disk_list Date: Thu, 6 Jan 2011 14:30:43 +0000 Message-ID: <19749.53779.853334.446731@mariner.uk.xensource.com> References: <1292509001-16978-1-git-send-email-anthony.perard@citrix.com> <1292509001-16978-2-git-send-email-anthony.perard@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1292509001-16978-2-git-send-email-anthony.perard@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: anthony.perard@citrix.com Cc: Xen Devel List-Id: xen-devel@lists.xenproject.org anthony.perard@citrix.com writes ("[Xen-devel] [PATCH] libxl: Lists qdisk device in libxl_device_disk_list"): > As libxl switch to qdisk when blktap isn't available, this patch makes > libxl_device_disk_list also list qdisk device. So > libxl_build_device_model_args_new will be able to add qdisk device to > the command line options of Qemu. Thanks for this contribution. But what you have done is introduced yet a third copy of a section of code which has been cloned-and-hacked one already. Can you please make a patch which breaks the common code out into a separate function, or macro, or uses a loop, or something ? I don't much mind how it's done but to my mind a function is probably going to be easiest. Ian.