Re: [Qemu-devel] [PATCH 2/2] block: in commit, determine base image from the top image

2012-10-11 Thread Eric Blake
On 10/09/2012 11:56 PM, Jeff Cody wrote: > This simplifies some code and error checking, and also fixes a bug. > > bdrv_find_backing_image() should only be passed absolute filenames, > or filenames relative to the chain. In the QMP message handler for > block commit, when looking up the base do s

Re: [Qemu-devel] [PATCH 2/2] block: in commit, determine base image from the top image

2012-10-10 Thread Eric Blake
On 10/09/2012 11:56 PM, Jeff Cody wrote: > This simplifies some code and error checking, and also fixes a bug. > > bdrv_find_backing_image() should only be passed absolute filenames, > or filenames relative to the chain. In the QMP message handler for > block commit, when looking up the base do s

Re: [Qemu-devel] [PATCH 2/2] block: in commit, determine base image from the top image

2012-10-10 Thread Paolo Bonzini
Il 10/10/2012 07:56, Jeff Cody ha scritto: > This simplifies some code and error checking, and also fixes a bug. > > bdrv_find_backing_image() should only be passed absolute filenames, > or filenames relative to the chain. In the QMP message handler for > block commit, when looking up the base do

[Qemu-devel] [PATCH 2/2] block: in commit, determine base image from the top image

2012-10-09 Thread Jeff Cody
This simplifies some code and error checking, and also fixes a bug. bdrv_find_backing_image() should only be passed absolute filenames, or filenames relative to the chain. In the QMP message handler for block commit, when looking up the base do so from the determined top image, so we know it is r