On 2013年12月12日 21:56, Markus Armbruster wrote:
Fam Zheng <f...@redhat.com> 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 <f...@redhat.com>

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