Re: [Qemu-devel] [PATCH v20 02/15] block: Introduce op_blockers to BlockDriverState

2014-05-21 Thread Stefan Hajnoczi
On Tue, May 20, 2014 at 02:04:27PM +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 with rea

[Qemu-devel] [PATCH v20 02/15] block: Introduce op_blockers to BlockDriverState

2014-05-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