qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Further tidy-up on block status


From: Alex Bligh
Subject: Re: [Qemu-devel] [PATCH] Further tidy-up on block status
Date: Wed, 11 Jan 2017 19:00:00 +0000

> On 11 Jan 2017, at 15:31, Vladimir Sementsov-Ogievskiy <address@hidden> wrote:
> 
> >>> If an error occurs, the server SHOULD set the appropriate error code in 
> >>> the error field of an error chunk. However, if the error does not involve 
> >>> invalid usage (such as a request beyond the bounds of the file), a server 
> >>> MAY reply with a single block status descriptor with length matching the 
> >>> requested length, and status of 0 rather than reporting the error.
> - single block status descriptor for each context? Isn't it implementation 
> defined? Or we finally decided to force 0 status to be safe default for all 
> contexts? If it is so, it would be better to describe this separately. 
> However, personally, I'd prefer to not define contexts internal semantics at 
> all.

I think this is Wouter's wording, but I think 'a status appropriate to the 
context' would be better. Each context then needs to define what that is. 
Either that or 'the context's default status' and that should be in the 
definition of the context.

-- 
Alex Bligh







reply via email to

[Prev in Thread] Current Thread [Next in Thread]