Re: [Qemu-devel] [PATCH 4/6] block: Unlink temporary files in raw-posix/win32

2014-04-29 Thread Max Reitz
On 25.04.2014 19:51, Kevin Wolf wrote: Instead of having unlink() calls in the generic block layer, where we aren't even guarateed to have a file name, move them to those block drivers that are actually used and that always have a filename. Gets us rid of some #ifdefs as well. The patch also con

[Qemu-devel] [PATCH 4/6] block: Unlink temporary files in raw-posix/win32

2014-04-25 Thread Kevin Wolf
Instead of having unlink() calls in the generic block layer, where we aren't even guarateed to have a file name, move them to those block drivers that are actually used and that always have a filename. Gets us rid of some #ifdefs as well. The patch also converts bs->is_temporary to a new BDRV_O_TE