qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v7 08/10] block: Add checks of blocker in block


From: Fam Zheng
Subject: Re: [Qemu-devel] [PATCH v7 08/10] block: Add checks of blocker in block operations
Date: Fri, 13 Dec 2013 11:29:12 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1

On 2013年12月12日 21:56, Markus Armbruster wrote:
Fam Zheng <address@hidden> writes:

Before operate on a BlockDriverState, respective types are checked
against bs->op_blockers and it will error out if there's a blocker.

Signed-off-by: Fam Zheng <address@hidden>

So this patch adds protection against "two of the same kind
simultaneously".  How could we check it's complete?

Have we pondered the more general problem of which "operations"
(whatever that is) exclude each other?


Good point. For what we want now, I think these extra checks are not required. I think these could be added in a separate series if any. Planning to drop it for next revision but the discussion is still open.

Thanks,
Fam




reply via email to

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