Re: [Qemu-devel] [PATCH 4/7] block: close unused image files at the end of streaming

2012-04-06 Thread Federico Simoncelli
- Original Message - From: Paolo Bonzini pbonz...@redhat.com To: qemu-devel@nongnu.org Cc: Marcelo Tosatti mtosa...@redhat.com, Federico Simoncelli fsimo...@redhat.com Sent: Thursday, April 5, 2012 5:42:58 PM Subject: [PATCH 4/7] block: close unused image files at the end of

[Qemu-devel] [PATCH 4/7] block: close unused image files at the end of streaming

2012-04-05 Thread Paolo Bonzini
From: Marcelo Tosatti mtosa...@redhat.com Close the now unused images that were part of the previous backing file chain and adjust -backing_hd properly. Note that this only works with relative paths. Given the images: /tmp/a/base.raw /tmp/a/snap1.qcow2 /tmp/b/snap2.qcow2 chained as: