Re: [Qemu-block] [PATCH 03/18] nbd: Minimal structured read for server

2017-05-05 Thread Vladimir Sementsov-Ogievskiy
04.05.2017 16:28, Eric Blake wrote: On 05/04/2017 05:58 AM, Vladimir Sementsov-Ogievskiy wrote: @@ -70,6 +70,25 @@ struct NBDSimpleReply { }; typedef struct NBDSimpleReply NBDSimpleReply; +typedef struct NBDStructuredReplyChunk { +uint32_t magic; +uint16_t flags; +uint16_t

Re: [Qemu-block] [PATCH 03/18] nbd: Minimal structured read for server

2017-05-04 Thread Eric Blake
On 05/04/2017 05:58 AM, Vladimir Sementsov-Ogievskiy wrote: >>> @@ -70,6 +70,25 @@ struct NBDSimpleReply { >>> }; >>> typedef struct NBDSimpleReply NBDSimpleReply; >>> +typedef struct NBDStructuredReplyChunk { >>> +uint32_t magic; >>> +uint16_t flags; >>> +uint16_t type; >>> +

Re: [Qemu-block] [PATCH 03/18] nbd: Minimal structured read for server

2017-05-04 Thread Vladimir Sementsov-Ogievskiy
07.02.2017 02:01, Eric Blake wrote: On 02/03/2017 09:47 AM, Vladimir Sementsov-Ogievskiy wrote: Minimal implementation of structured read: one data chunk + finishing none chunk. No segmentation. Minimal structured error implementation: no text message. Support DF flag, but just ignore it, as the

Re: [Qemu-block] [PATCH 03/18] nbd: Minimal structured read for server

2017-02-07 Thread Paolo Bonzini
On 07/02/2017 00:01, Eric Blake wrote: > On 02/03/2017 09:47 AM, Vladimir Sementsov-Ogievskiy wrote: >> Minimal implementation of structured read: one data chunk + finishing >> none chunk. No segmentation. >> Minimal structured error implementation: no text message. >> Support DF flag, but just ign

Re: [Qemu-block] [PATCH 03/18] nbd: Minimal structured read for server

2017-02-06 Thread Eric Blake
On 02/03/2017 09:47 AM, Vladimir Sementsov-Ogievskiy wrote: > Minimal implementation of structured read: one data chunk + finishing > none chunk. No segmentation. > Minimal structured error implementation: no text message. > Support DF flag, but just ignore it, as there is no segmentation any > way

[Qemu-block] [PATCH 03/18] nbd: Minimal structured read for server

2017-02-03 Thread Vladimir Sementsov-Ogievskiy
Minimal implementation of structured read: one data chunk + finishing none chunk. No segmentation. Minimal structured error implementation: no text message. Support DF flag, but just ignore it, as there is no segmentation any way. Signed-off-by: Vladimir Sementsov-Ogievskiy --- include/block/nbd