Received: from eggs.gnu.org ([2001:4830:134:3::10]:41123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anMiS-0002gD-Up for qemu-devel@nongnu.org; Tue, 05 Apr 2016 04:52:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anMiP-0003el-Ph for qemu-devel@nongnu.org; Tue, 05 Apr 2016 04:52:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46545) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anMiP-0003eX-Kn for qemu-devel@nongnu.org; Tue, 05 Apr 2016 04:52:01 -0400 Date: Tue, 5 Apr 2016 09:51:58 +0100 From: Stefan Hajnoczi Message-ID: <20160405085158.GA2015@stefanha-x1.localdomain> References: <1459787950-15286-1-git-send-email-eblake@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline In-Reply-To: <1459787950-15286-1-git-send-email-eblake@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2] doc: Add NBD_CMD_BLOCK_STATUS extension List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: nbd-general@lists.sourceforge.net, Kevin Wolf , qemu-devel@nongnu.org, Pavel Borzenkov , Paolo Bonzini , Wouter Verhelst , "Denis V. Lunev" --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Apr 04, 2016 at 10:39:10AM -0600, Eric Blake wrote: > +To provide such class of information, the `BLOCK_STATUS` extension > +adds a new `NBD_CMD_BLOCK_STATUS` command which returns a list of > +ranges with their respective states. This extension is not available > +unless the client also negotiates the `STRUCTURED_REPLY` extension. > + > +* `NBD_FLAG_SEND_BLOCK_STATUS` > + > + The server SHOULD set this transmission flag to 1 if structured > + replies have been negotiated, and the `NBD_CMD_BLOCK_STATUS` > + request is supported. > + > +* `NBD_REPLY_TYPE_BLOCK_STATUS` > + > + *length* MUST be a positive integer multiple of 8. This reply > + represents a series of consecutive block descriptors where the sum > + of the lengths of the descriptors equals the length of the > + original request. This chunk type MUST appear at most once in a > + structured reply. Valid as a reply to `NBD_CMD_BLOCK_STATUS. Missing terminating backquote on NBD_CMD_BLOCK_STATUS. --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJXA3yuAAoJEJykq7OBq3PIsTsIAMGRygaSSn/c+WAA8qsih/x3 IKY9Jb2DV0JjRVWGXvpsyiEJMKhDEebur+gZRMbArHxaZkKsb3XImpngCKo3lyYr 3WLU0YUdh8HEtB1EHlS+hyFKDmZsG0vzS+Gh+R9GM047R0ZQXwiMdX25HyhGKNJN vVU9srL0gkz/JjdMmnQOJ4AwD4hVlzGXAxogu68OUAXcGgionJJ2c6UMDeO8VGtY hMnzAleEFcQLQ0vcSZZtpu4z4kBFedLclMh6+tn9yE2RCMcWhrbr3iuE/oP+rjJg F9YEieTtJp9efHPlSn6h0pNRdxs2XWxWhLAlX1grM0Kr/zthwDPvd/WfOXjj1HE= =nSo+ -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe--