From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH v7 3/5] libxl: add support for vscsi Date: Thu, 11 Feb 2016 16:00:06 +0100 Message-ID: <20160211150006.GA8138@aepfle.de> References: <1454667175-24282-1-git-send-email-olaf@aepfle.de> <1454667175-24282-4-git-send-email-olaf@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1454667175-24282-4-git-send-email-olaf@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Wei Liu , Ian Jackson , Ian Campbell , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Fri, Feb 05, Olaf Hering wrote: > +static int libxl__vscsictrl_next_vscsidev_id(libxl__gc *gc, uint32_t domid, > + libxl_device_vscsictrl *vscsi, > + libxl_devid *vscsidev_id) > +{ > + path = GCSPRINTF("%s/vscsi/%u/next_vscsidev_id", > + libxl__xs_libxl_path(gc, domid), > + vscsi->devid); This creates /libxl//vscsi//counter. Where is the place to remove /libxl//vscsi/ during scsi-detach? As a workaround I'm in the process to move the counter to the backend path. Olaf