Re: [Qemu-devel] [PATCH 2/8] block: add driver operation callbacks

2014-09-01 Thread Liu Yuan
On Mon, Sep 01, 2014 at 11:28:22AM +0200, Benoît Canet wrote: > The Monday 01 Sep 2014 à 17:19:19 (+0800), Liu Yuan wrote : > > On Mon, Sep 01, 2014 at 10:28:54AM +0200, Benoît Canet wrote: > > > The Monday 01 Sep 2014 à 15:43:08 (+0800), Liu Yuan wrote : > > > > Driver operations are defined as ca

Re: [Qemu-devel] [PATCH 2/8] block: add driver operation callbacks

2014-09-01 Thread Benoît Canet
The Monday 01 Sep 2014 à 17:19:19 (+0800), Liu Yuan wrote : > On Mon, Sep 01, 2014 at 10:28:54AM +0200, Benoît Canet wrote: > > The Monday 01 Sep 2014 à 15:43:08 (+0800), Liu Yuan wrote : > > > Driver operations are defined as callbacks passed from block upper > > > drivers to > > > lower drivers

Re: [Qemu-devel] [PATCH 2/8] block: add driver operation callbacks

2014-09-01 Thread Liu Yuan
On Mon, Sep 01, 2014 at 10:28:54AM +0200, Benoît Canet wrote: > The Monday 01 Sep 2014 à 15:43:08 (+0800), Liu Yuan wrote : > > Driver operations are defined as callbacks passed from block upper drivers > > to > > lower drivers and are supposed to be called by lower drivers. > > > > Requests hand

Re: [Qemu-devel] [PATCH 2/8] block: add driver operation callbacks

2014-09-01 Thread Benoît Canet
The Monday 01 Sep 2014 à 15:43:08 (+0800), Liu Yuan wrote : > Driver operations are defined as callbacks passed from block upper drivers to > lower drivers and are supposed to be called by lower drivers. > > Requests handling(queuing, submitting, etc.) are done in protocol tier in the > block laye