Re: [Qemu-devel] [PATCH v2 2/2] vmdk: implment bdrv_get_specific_info

2013-10-11 Thread Max Reitz
On 2013-10-11 14:07, Fam Zheng wrote: On Fri, 10/11 05:52, Eric Blake wrote: On 10/11/2013 02:31 AM, Fam Zheng wrote: Implement .bdrv_get_specific_info to return the extent information. Signed-off-by: Fam Zheng --- + +*spec_info->vmdk = (ImageInfoSpecificVmdk) { +.create_type = g_

Re: [Qemu-devel] [PATCH v2 2/2] vmdk: implment bdrv_get_specific_info

2013-10-11 Thread Fam Zheng
On Fri, 10/11 05:52, Eric Blake wrote: > On 10/11/2013 02:31 AM, Fam Zheng wrote: > > Implement .bdrv_get_specific_info to return the extent information. > > > > Signed-off-by: Fam Zheng > > --- > > > + > > +*spec_info->vmdk = (ImageInfoSpecificVmdk) { > > +.create_type = g_strdup(s-

Re: [Qemu-devel] [PATCH v2 2/2] vmdk: implment bdrv_get_specific_info

2013-10-11 Thread Eric Blake
On 10/11/2013 02:31 AM, Fam Zheng wrote: > Implement .bdrv_get_specific_info to return the extent information. > > Signed-off-by: Fam Zheng > --- > + > +*spec_info->vmdk = (ImageInfoSpecificVmdk) { > +.create_type = g_strdup(s->create_type), > +.cid = s->cid, > +}; > + >

[Qemu-devel] [PATCH v2 2/2] vmdk: implment bdrv_get_specific_info

2013-10-11 Thread Fam Zheng
Implement .bdrv_get_specific_info to return the extent information. Signed-off-by: Fam Zheng --- block/vmdk.c | 57 +- qapi-schema.json | 24 ++- tests/qemu-iotests/059 | 2 +- tests/qemu-iotests/059.out |