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" > To: qemu-devel@nongnu.org > Cc: "Marcelo Tosatti" , "Federico Simoncelli" > > Sent: Thursday, April 5, 2012 5:42:58 PM > Subject: [PATCH 4/7] block: close unused image files at the end of streaming > > From: Marcelo Tosatti > > Close the

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

2012-04-05 Thread Paolo Bonzini
From: Marcelo Tosatti 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: base(bak:"") <- snap1(ba