[Qemu-devel] [PATCH v2 21/45] block: add bdrv_open_backing_file

2012-09-26 Thread Paolo Bonzini
Mirroring runs without the backing file so that it can be copied outside QEMU. However, we need to add it at the time the job is completed and QEMU switches to the target. Factor out the common bits of opening an image and completing a mirroring operation. The new function does not assume that t

Re: [Qemu-devel] [PATCH v2 21/45] block: add bdrv_open_backing_file

2012-09-27 Thread Jeff Cody
On 09/26/2012 11:56 AM, Paolo Bonzini wrote: > Mirroring runs without the backing file so that it can be copied outside > QEMU. However, we need to add it at the time the job is completed and > QEMU switches to the target. Factor out the common bits of opening an > image and completing a mirrorin