From: Ian Jackson Subject: Re: [PATCH V5 3/7] libxl: add pvusb API Date: Thu, 25 Jun 2015 12:15:50 +0100 Message-ID: <21899.58086.8482.140236@mariner.uk.xensource.com> References: <1435226838-3067-1-git-send-email-cyliu@suse.com> <1435226838-3067-4-git-send-email-cyliu@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1435226838-3067-4-git-send-email-cyliu@suse.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: Chunyan Liu Cc: jgross@suse.com, wei.liu2@citrix.com, ian.campbell@citrix.com, george.dunlap@eu.citrix.com, xen-devel@lists.xen.org, jfehlig@suse.com, Simon Cao List-Id: xen-devel@lists.xenproject.org Chunyan Liu writes ("[PATCH V5 3/7] libxl: add pvusb API"): > Add pvusb APIs, including: > - attach/detach (create/destroy) virtual usb controller. > - attach/detach usb device > - list usb controller and usb devices > - some other helper functions > > Signed-off-by: Chunyan Liu > Signed-off-by: Simon Cao I have reviewed the new API introduced in this patch and it looks sensible to me. I did notice this wrap damage: > +/* USB Devices */ > +int libxl_device_usb_add(libxl_ctx *ctx, uint32_t domid, libxl_device_usb\ *usb, > + const libxl_asyncop_how *ao_how) > + LIBXL_EXTERNAL_CALLERS_ONLY; > + > +int libxl_device_usb_remove(libxl_ctx *ctx, uint32_t domid, libxl_device_\ usb *usb, > + const libxl_asyncop_how *ao_how) I haven't reviewed the implementation (yet). Ian.