Re: [Qemu-devel] [PATCH v14 02/14] block: Introduce op_blockers to BlockDriverState

2014-02-19 Thread Benoît Canet
The Wednesday 19 Feb 2014 à 21:42:19 (+0800), Fam Zheng wrote : > BlockDriverState.op_blockers is an array of lists with BLOCK_OP_TYPE_MAX > elements. Each list is a list of blockers of an operation type > (BlockOpType), that marks this BDS as currently blocked for a certain > type of operation wit

[Qemu-devel] [PATCH v14 02/14] block: Introduce op_blockers to BlockDriverState

2014-02-19 Thread Fam Zheng
BlockDriverState.op_blockers is an array of lists with BLOCK_OP_TYPE_MAX elements. Each list is a list of blockers of an operation type (BlockOpType), that marks this BDS as currently blocked for a certain type of operation with reason errors stored in the list. The rule of usage is: * BDS user w