From: "Chun Yan Liu" Subject: Re: [PATCH V8 3/7] libxl: add pvusb API Date: Thu, 12 Nov 2015 19:32:41 -0700 Message-ID: <5645BC49020000660008261B@relay2.provo.novell.com> References: <1445418510-19614-1-git-send-email-cyliu@suse.com> <1445418510-19614-4-git-send-email-cyliu@suse.com> <20151112113200.GA302@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20151112113200.GA302@aepfle.de> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: Juergen Gross , wei.liu2@citrix.com, ian.campbell@citrix.com, george.dunlap@eu.citrix.com, Ian.Jackson@eu.citrix.com, xen-devel@lists.xen.org, Jim Fehlig , Simon Cao List-Id: xen-devel@lists.xenproject.org >>> On 11/12/2015 at 07:32 PM, in message <20151112113200.GA302@aepfle.de>, Olaf Hering wrote: > On Wed, Oct 21, Chunyan Liu wrote: > > > Add pvusb APIs, including: > > Some comments below. > > After a quick look I miss the proposed ctrl/device separation for pvscsi > (what handles "state" changes?). But, I have to read all the other > dozen+ threads about that topic first. > > > > + flexarray_append_pair(back, "state", "1"); > > 4.6+ has macros for "state" values, like > flexarray_append_pair(back, "state", GCSPRINTF("%d", > XenbusStateInitialising)); > > > > + flexarray_append_pair(front, "state", "1"); > > 4.6+ has macros for "state" values. > > > + LOG(DEBUG, "Adding new usb device to xenstore"); > > Which one? Perhaps print also details. > > > + LOG(DEBUG, "Removing USB device from xenstore"); > > Which one? Perhaps print also details. > > > + /* check if the USB interface is already bound to "usbbcak" */ > > Typo. Take all. Thanks Olaf! - Chunyan > > > Olaf > >