From: Ian Jackson Subject: Re: [PATCH 5/6] libxl: introduce libxl__alloc_vdev Date: Tue, 27 Mar 2012 18:21:52 +0100 Message-ID: <20337.63280.560592.911821@mariner.uk.xensource.com> References: <1332856772-30292-5-git-send-email-stefano.stabellini@eu.citrix.com> <1332858099.25560.32.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1332858099.25560.32.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: "xen-devel@lists.xensource.com" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [PATCH 5/6] libxl: introduce libxl__alloc_vdev"): > For this use though wouldn't it be as easy to simply iterate over idx > checking if a frontend dir exists? Yes, I agree, and I think that might well be better. Ian.