On 20/04/16 08:26, Bob Liu wrote: > > /* > + * Recognized only if "feature-data-integrity" is present in backend xenbus > info. > + * A request with BLKIF_OP_DIX_FLAG indicates the following request is a > special > + * request which only contains integrity-metadata segments of current > request. > + * > + * If a backend does not recognize BLKIF_OP_DIX_FLAG, it should *not* create > the > + * "feature-data-integrity" node! > + */ > +#define BLKIF_OP_DIX_FLAG (0x80)
This looks fine as a mechanism for actually transferring the data but you do need to specify: 1. The format of this DIX data. You may reference external specifications for this. 2. A mechanism for reporting which DIX formats the backend supports and a way for the frontend to select one (if multiple are selected). 3. The behaviour the frontend can expect from the backend. (e.g., if the frontend writes sector S with DIX data D, a read of sector S with complete with DIX data D). David _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel