Re: [Qemu-devel] [PATCH v2 04/14] block: Convert block job core to BlockBackend

2016-05-25 Thread Alberto Garcia
On Tue 24 May 2016 03:47:24 PM CEST, Kevin Wolf wrote: > This adds a new BlockBackend field to the BlockJob struct, which > coexists with the BlockDriverState while converting the individual jobs. > > When creating a block job, a new BlockBackend is created on top of the > given BlockDriverState, a

Re: [Qemu-devel] [PATCH v2 04/14] block: Convert block job core to BlockBackend

2016-05-24 Thread Changlong Xie
On 05/24/2016 09:47 PM, Kevin Wolf wrote: +blk = blk_new(); blk_new(errp);

Re: [Qemu-devel] [PATCH v2 04/14] block: Convert block job core to BlockBackend

2016-05-24 Thread Eric Blake
On 05/24/2016 07:47 AM, Kevin Wolf wrote: > This adds a new BlockBackend field to the BlockJob struct, which > coexists with the BlockDriverState while converting the individual jobs. > > When creating a block job, a new BlockBackend is created on top of the > given BlockDriverState, and it is des

[Qemu-devel] [PATCH v2 04/14] block: Convert block job core to BlockBackend

2016-05-24 Thread Kevin Wolf
This adds a new BlockBackend field to the BlockJob struct, which coexists with the BlockDriverState while converting the individual jobs. When creating a block job, a new BlockBackend is created on top of the given BlockDriverState, and it is destroyed when the BlockJob ends. The reference to the