Re: [Qemu-devel] [PATCH] block:Fix FIXED base vpc be probed to raw format

2015-02-15 Thread Xiaodong Gong
Sent the v2 version of this patch integrated in v9 verison of VHD_DEFFERING patch. Fixed this problem with backing_format. On Sat, Feb 14, 2015 at 10:13 AM, Xiaodong Gong wrote: > > > On Wed, Feb 11, 2015 at 9:39 PM, Stefan Hajnoczi > wrote: > >> On Tue, Feb 10, 2015 at 11:04:31PM +0800, Xiaodo

Re: [Qemu-devel] [PATCH] block:Fix FIXED base vpc be probed to raw format

2015-02-13 Thread Xiaodong Gong
On Wed, Feb 11, 2015 at 9:39 PM, Stefan Hajnoczi wrote: > On Tue, Feb 10, 2015 at 11:04:31PM +0800, Xiaodong Gong wrote: > > On Mon, Feb 9, 2015 at 10:54 PM, Stefan Hajnoczi > wrote: > > > > > On Sun, Feb 08, 2015 at 08:39:52PM +0800, Xiaodong Gong wrote: > > > > When open the vpc snapshot based

Re: [Qemu-devel] [PATCH] block:Fix FIXED base vpc be probed to raw format

2015-02-11 Thread Stefan Hajnoczi
On Tue, Feb 10, 2015 at 11:04:31PM +0800, Xiaodong Gong wrote: > On Mon, Feb 9, 2015 at 10:54 PM, Stefan Hajnoczi wrote: > > > On Sun, Feb 08, 2015 at 08:39:52PM +0800, Xiaodong Gong wrote: > > > When open the vpc snapshot based FIXED format, its backing file, > > > this FIXED vpc image, could be

Re: [Qemu-devel] [PATCH] block:Fix FIXED base vpc be probed to raw format

2015-02-10 Thread Xiaodong Gong
On Mon, Feb 9, 2015 at 10:54 PM, Stefan Hajnoczi wrote: > On Sun, Feb 08, 2015 at 08:39:52PM +0800, Xiaodong Gong wrote: > > When open the vpc snapshot based FIXED format, its backing file, > > this FIXED vpc image, could be probed as a raw image, because that > > the find_image_format just check

Re: [Qemu-devel] [PATCH] block:Fix FIXED base vpc be probed to raw format

2015-02-09 Thread Stefan Hajnoczi
On Sun, Feb 08, 2015 at 08:39:52PM +0800, Xiaodong Gong wrote: > When open the vpc snapshot based FIXED format, its backing file, > this FIXED vpc image, could be probed as a raw image, because that > the find_image_format just checkout the first sector. > > Add a re-probe for the last sector to F

[Qemu-devel] [PATCH] block:Fix FIXED base vpc be probed to raw format

2015-02-08 Thread Xiaodong Gong
When open the vpc snapshot based FIXED format, its backing file, this FIXED vpc image, could be probed as a raw image, because that the find_image_format just checkout the first sector. Add a re-probe for the last sector to FIXED base vpc image,when get a NULL or raw driver in first sector probe.