From: Ian Campbell Subject: Re: [PATCH 2 of 4 v3] blkif.h: Provide more complete documentation of the blkif interface Date: Tue, 21 Feb 2012 19:41:45 +0000 Message-ID: <1329853305.25232.109.camel@dagon.hellion.org.uk> References: <1329834420.3990.100.camel@zakaz.uk.xensource.com> <6792A135-57D1-4AE0-9690-F6B2B2E071BC@spectralogic.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <6792A135-57D1-4AE0-9690-F6B2B2E071BC@spectralogic.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: "Justin T. Gibbs" Cc: "xen-devel@lists.xensource.com" , "Keir (Xen.org)" List-Id: xen-devel@lists.xenproject.org On Tue, 2012-02-21 at 18:14 +0000, Justin T. Gibbs wrote: > On Feb 21, 2012, at 7:27 AM, Ian Campbell wrote: > > > On Mon, 2012-02-20 at 18:07 +0000, Justin T. Gibbs wrote: > >> o Document the XenBus nodes used in this protocol. > >> o Add a state diagram illustrating the roles and responsibilities > >> of both the front and backend during startup. > >> o Correct missed BLKIF_OP_TRIM => BLKIF_OP_DISCARD conversion in a comment. > >> > >> No functional changes. > >> > >> Signed-off-by: Justin T. Gibbs > > > > Acked-by: Ian Campbell > > > > I've made some very minor comments below but I think getting the basic > > documentation of this stuff in as a baseline to improve and correct over > > time is more important than any of them. > > > > Thanks again for doing this -- it is really valuable! > > Thanks. > > >> + * params > >> + * Values: string > >> + * > >> + * A free formatted string providing sufficient information for the > >> + * backend driver to open the backing device. (e.g. the path to the > >> + * file or block device representing the backing store.) > > > > The syntax and semantics of params is defined by the particular backend, > > rather than being "free formatted" as such. I think it would be worth > > saying that explicitly. > > > > Ian. > > Perhaps something like this? > > * params > * Values: string > * > * Data used by the backend driver to locate and configure the backing > * device. The format and semantics of this data vary according to the > * backing device in use and are outside the scope of this specification. Sounds good. > > -- > Justin